Thread: A war game for programmers

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446

    A war game for programmers

    In case you didn't notice this before, it might be worth saving in your bookmarks for this year:

    Code & Conquer
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    Meh, Core War waz ere first.

  3. #3
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    Looks exciting, Mario. I'm imagining it's just basically programming AI for war units against other players. In that case, it's like half coding, half war strategy. We shall see how this goes.

  4. #4
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    Meh, Core War waz ere first.
    O_o

    The "Code & Conquer" "FAQ" lists support for Python and JavaScript from the start.

    I don't know about you, but I consider that a far better start than assembler.

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I would enter but I am awful at game AI. Actually awful is too nice of a word. There are a few books about game AI in my library but I'm still terrible.

  6. #6
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    I feel it's a bunch of it-then's though. That's kind of how we think anyway. We have an idea of the overall goal and we need conflict resolution. If this happens to you, do this. And chess AI was only so powerful because it could run simulations of all possible moves in the future, right? That might be one thing to consider too.

  7. #7
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Sure. It can be a bunch of if-else statements. But if you will code your bots that way, I can guarantee you are going to lose.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  8. #8
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    @MutantJohn:
    I'm pretty sure Deep Blue didn't beat Kasparov with just a bunch of if-else statements. Read up on Deep Blue, it rarely (never?) looked more than 20 moves (40 plies) ahead, but it considered all/nearly all possible combinations (initially, then it probably pruned some branches). Take a look at minimax trees for a common chess AI strategy.

  9. #9
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Quote Originally Posted by phantomotap View Post
    The "Code & Conquer" "FAQ" lists support for Python and JavaScript from the start.
    I'd like to see support for C. Load your weapons with NULL pointers, aim at enemy bases, and fire. A result that is not fully predictable, so just as exciting for you or your enemy.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ game programmers wanted
    By Mark Smulders in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 06-11-2007, 08:26 AM
  2. A Game Programmers Education.
    By Wylde in forum Game Programming
    Replies: 17
    Last Post: 09-28-2006, 10:03 AM
  3. What do game programmers program?
    By Tride in forum Game Programming
    Replies: 22
    Last Post: 05-23-2003, 02:45 AM
  4. One question to C++ game programmers
    By incognito in forum C++ Programming
    Replies: 6
    Last Post: 12-31-2001, 11:47 AM
  5. Newbie Game Programmers!
    By Ryce in forum Game Programming
    Replies: 12
    Last Post: 09-07-2001, 10:15 AM