Like Tree1Likes
  • 1 Post By grumpy

A war game for programmers

This is a discussion on A war game for programmers within the General Discussions forums, part of the Community Boards category; In case you didn't notice this before, it might be worth saving in your bookmarks for this year: Code & ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,581

    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
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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,266
    Meh, Core War waz ere first.

  3. #3
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    1,283
    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
    4,415
    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
    “Often out of periods of losing come the greatest strivings toward a new winning streak.” -- Fred Rogers
    “Salem Was Wrong!” -- Pedant Necromancer

  5. #5
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    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
    1,283
    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
    Portugal
    Posts
    7,581
    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.
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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,676
    @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,667
    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.
    Elkvis likes this.
    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, Sunshine, 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, 09:26 AM
  2. A Game Programmers Education.
    By Wylde in forum Game Programming
    Replies: 17
    Last Post: 09-28-2006, 11:03 AM
  3. What do game programmers program?
    By Tride in forum Game Programming
    Replies: 22
    Last Post: 05-23-2003, 03: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, 11:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21