Results 1 to 8 of 8
- 11-12-2010, 02:06 PM #1
Member
- Join Date
- Nov 2010
- Posts
- 4
- Rep Power
- 0
pong game with reinforcement learner
hi,
i am new to java, and looking to make logic to develop simple PONG game with any reinforcement algorithm learner. the game should be played by one human and one bot (auto player). it should be 2 dimensional and in the beginning ball should be in the middle of playing field. reinforcement learner help to bot to play game against any other player or bot. the ball is sent in random direction whereas if the ball hits top or bottom of the screen it bounces and if it hits left or right side of the screen, the player whose bat is at same side loses. learn model parameter values should be saved and shown in file
- 11-12-2010, 03:35 PM #2
Senior Member
- Join Date
- Feb 2010
- Location
- Ljubljana, Slovenia
- Posts
- 470
- Rep Power
- 4
Ok, you game us a description of a school assignment. How about you show your efforts so far, and tell us where you're stuck. Also, first make the game without any AI, 2 player only. When you have a working game, then you can worry about the learning algorithms.
Ever seen a dog chase its tail? Now that's an infinite loop.
- 11-12-2010, 03:42 PM #3
Member
- Join Date
- Nov 2010
- Posts
- 4
- Rep Power
- 0
-
Google the Swing tutorials and search the forum for animation examples. You've a lot of studying to do. Much luck!
- 11-12-2010, 05:05 PM #5
Member
- Join Date
- Nov 2010
- Posts
- 4
- Rep Power
- 0
I have only 1 and half month
hi,
i appreciate your suggestion. but i have one and half month to accomplish this task. therefore, requires some structural or object oriented suggestion to learn quick and effective.
- 11-12-2010, 05:12 PM #6
Member
- Join Date
- Nov 2010
- Posts
- 4
- Rep Power
- 0
- 11-12-2010, 05:55 PM #7
Senior Member
- Join Date
- Feb 2010
- Location
- Ljubljana, Slovenia
- Posts
- 470
- Rep Power
- 4
The quickest and most effective way is the one suggested by Fubarable, looking up a few examples and tutorials. I tried to make a Pong game myself with no prior knowledge or experience of swing components. After fiddling around with a few tutorials I had the basic game running in about 4 hours. That leaves you with the whole month and a half to work on the AI.
Ever seen a dog chase its tail? Now that's an infinite loop.
-
Similar Threads
-
Pong game
By hannes in forum Threads and SynchronizationReplies: 4Last Post: 02-03-2011, 10:52 AM -
Ping pong game
By adam405 in forum New To JavaReplies: 8Last Post: 10-20-2010, 03:52 PM -
Help drawing images for pong game
By aalsaqri in forum New To JavaReplies: 4Last Post: 05-28-2010, 02:10 PM -
The bug in the Pong game
By Phoeenix in forum New To JavaReplies: 4Last Post: 07-21-2009, 07:13 PM -
Help with pong game
By Eric in forum New To JavaReplies: 2Last Post: 07-03-2007, 07:02 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks