04-03-2005, 06:26 AM
I said it wasn't bad Rattra...
Jay:
FOR THE LAST TIME it worked fine on my XP!!! :evil:
Jay:
FOR THE LAST TIME it worked fine on my XP!!! :evil:
i]"But...it was so beautifully done"[/i]
Poll: Have you played the original Atari Pong? You do not have permission to vote in this poll. |
|||
Yes (I really have) | 14 | 100.00% | |
No (I want to) | 0 | 0% | |
Total | 14 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Pong AI
|
04-03-2005, 06:26 AM
I said it wasn't bad Rattra...
Jay: FOR THE LAST TIME it worked fine on my XP!!! :evil:
i]"But...it was so beautifully done"[/i]
04-03-2005, 07:37 PM
Quote:I said it wasn't bad Rattra... I know, what i do not get is why it worked better on a slow computer than a fas one..what DOS emulator do you have.
url=http://www.sloganizer.net/en/][/url]
04-03-2005, 08:19 PM
XP's DOS.
My computer an't slow. What processing power do you have?
i]"But...it was so beautifully done"[/i]
04-03-2005, 09:06 PM
Here is my extodinary simple AI, but it has that human edgyness in the players.. they pause, go too fast, ect,.. Please note this is in FB, which means it doesn't require checks for text that goes off screen..
It my run in QB minus (SLEEP 100) with no errs, but I'm sure the paddles go off screen a few times in their frantic moving.. Ball stays on screen mind.. Also has 3point paddles, minus they rarely work under the comps checks,. :wink: Code: 'THIS WAS DONE IN FREEBASIC! Enjoy!!
04-04-2005, 09:35 PM
Quote:XP's DOS. I tried it again and it worked fine. the computer does occationally start slow i have to stop one thing from working to get it too work at its normal speed...the thing stopped running at start up for a while so i assumed my dad had stopped it permantly, looks like this was not the case. I ran it again AFTER checking what was running and found/stopped the thing which slows it down and it runs fine.
url=http://www.sloganizer.net/en/][/url]
04-05-2005, 12:56 AM
That's good, you like it?
Try the first one. If you want you can make it into a game. Just don't make it crappy. :wink:
i]"But...it was so beautifully done"[/i]
04-05-2005, 01:10 AM
Here are some ideas to include ontop of pong to make the game a bit more challenging. It will remove the need for "error" to be emulated (pretend AI with absolutely no learning).
1. Make the paddle velocity slow enough for even a perfect algorithm to intercept the ball. 2. Allow the paddles to be positioned at different angles; this may be a continuous angle, or a discrete angle. Either way, there is opportunity here for the program to actually -learn- rather than be programmed what to do. The agent playing the game should be aware of at least 2 variables: the angle of the enemies paddle and the distance from itself to the ball (no sense of direction). You could then use a basic artificial neural network (a perceptron would suffice, actually) to control the movement predictions and you could use a really simplistic genetic algorithm to decide which direction to move. Basically you want the bot to learn about the effect of the enemy paddle on the ball's deflection direction. It might actually be quite fun to change the way pong is played a bit - have the paddles moving at a constant velocity and allow the players to modify the velocity of the paddles (taking into account a maximum speed, of course). When the paddles reach the top/bottom of the screen, they bounce back with elastic deflection, etc. By adding this much complexity to the game, you could at least start to create a small opponent worthy of being said to "learn". These ideas would really be better suited for a graphical version of pong rather than textmode. -shiftLynx
img]http://www.cdsoft.co.uk/misc/shiftlynx.png[/img]
04-13-2005, 05:25 AM
Nice ratrap but its a little jumpy i got the same problem but its qb but both the comps are pritty close in intelegence so they dont make as many mistakes
Code: RANDOMIZE TIMER
his world has been connected...
Tied to the darkness. Soon to be completely eclipsed. There is so very much to learn... You understand so little. A meaningless effort. One who knows nothing can understand nothing. -Ansem Bringer of darkness and creator of the heartless
04-13-2005, 05:39 AM
:o A lil to jumpy? You just insulted how I play Pong.. .. jk
That what I was simulating... :wink: ... Nevious human reactions.. :lol:
04-13-2005, 05:41 AM
yeah but humans moving the paddle will be more smooth like if it moves the wrong way like 2 or 3 times btw i edited it so check it again
his world has been connected...
Tied to the darkness. Soon to be completely eclipsed. There is so very much to learn... You understand so little. A meaningless effort. One who knows nothing can understand nothing. -Ansem Bringer of darkness and creator of the heartless |
« Next Oldest | Next Newest »
|