|
-
Apr 21st, 2000, 01:00 AM
#1
Thread Starter
Lively Member
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.
-
Apr 21st, 2000, 08:03 AM
#2
Frenzied Member
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."
-
Apr 21st, 2000, 09:50 AM
#3
Thread Starter
Lively Member
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.
-
Apr 22nd, 2000, 05:12 AM
#4
Thread Starter
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|