Results 1 to 8 of 8
  1. #1
    jackdalton is offline Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    0

    Post 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

  2. #2
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    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.

  3. #3
    jackdalton is offline Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    0

    Default

    Quote Originally Posted by m00nchile View Post
    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.
    Hi,

    That is what i said. i am new in this. i want to now how to start with it. what platform? how to make structures and parameters to use. what libraries. etc.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Google the Swing tutorials and search the forum for animation examples. You've a lot of studying to do. Much luck!

  5. #5
    jackdalton is offline Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    0

    Post 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.

  6. #6
    jackdalton is offline Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    0

    Default

    Quote Originally Posted by Fubarable View Post
    Google the Swing tutorials and search the forum for animation examples. You've a lot of studying to do. Much luck!
    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.

  7. #7
    m00nchile is offline Senior Member
    Join Date
    Feb 2010
    Location
    Ljubljana, Slovenia
    Posts
    470
    Rep Power
    5

    Default

    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.

  8. #8
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by jackdalton View Post
    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.
    I sure wish I knew of a short-cut of getting this stuff into our brains, but I don't. If you find one, please let us know!

Similar Threads

  1. Pong game
    By hannes in forum Threads and Synchronization
    Replies: 4
    Last Post: 02-03-2011, 10:52 AM
  2. Ping pong game
    By adam405 in forum New To Java
    Replies: 8
    Last Post: 10-20-2010, 03:52 PM
  3. Help drawing images for pong game
    By aalsaqri in forum New To Java
    Replies: 4
    Last Post: 05-28-2010, 02:10 PM
  4. The bug in the Pong game
    By Phoeenix in forum New To Java
    Replies: 4
    Last Post: 07-21-2009, 07:13 PM
  5. Help with pong game
    By Eric in forum New To Java
    Replies: 2
    Last Post: 07-03-2007, 07:02 PM

Posting Permissions

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