Results 1 to 4 of 4

Thread: Simple AI

  1. #1

    Thread Starter
    Lively Member *Super Sniper*'s Avatar
    Join Date
    Jan 2000
    Location
    Portland, OR
    Posts
    81

    Exclamation

    How can I make a simple AI for a pong game?
    Website

    Send an e-mail to [email protected] to get a sample of my games.

    1. Hardware: The parts of a computer system that can be kicked.
    2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
    3. Bad command or file name. Go stand in the corner.
    4. Never trust a computer you can't throw out the window.

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Huh? AI for pong? That's, like, the one-player game where there's a little white dot for a ball and you have a little white line that it bounces off right? Or the 2-player version where there's 2 lines bouncing the ball back at each other?

    Well a simple (really simple) and effective (flawless I guess) method would be to track the movement wouldn't it? Maybe you could use some random variables to make it wobble around a bit.
    Harry.

    "From one thing, know ten thousand things."

  3. #3

    Thread Starter
    Lively Member *Super Sniper*'s Avatar
    Join Date
    Jan 2000
    Location
    Portland, OR
    Posts
    81
    1 player. And some code would be nice.
    Website

    Send an e-mail to [email protected] to get a sample of my games.

    1. Hardware: The parts of a computer system that can be kicked.
    2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
    3. Bad command or file name. Go stand in the corner.
    4. Never trust a computer you can't throw out the window.

  4. #4

    Thread Starter
    Lively Member *Super Sniper*'s Avatar
    Join Date
    Jan 2000
    Location
    Portland, OR
    Posts
    81

    Unhappy

    <<Back to the top>>
    Website

    Send an e-mail to [email protected] to get a sample of my games.

    1. Hardware: The parts of a computer system that can be kicked.
    2. f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.
    3. Bad command or file name. Go stand in the corner.
    4. Never trust a computer you can't throw out the window.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width