![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
|
RicoRobots is a Ricochet Robot clone. This was a class assignment I recently completed and I thought I would share with everyone here.
The grid data is loaded from a text file called board.txt To move the blocks click inside one of them and then click in the direction you wish to move it (it must be within the width/height of the block). To compile: javac GamePlay.java To execute: java GamePlay Any constructive criticism/comments are welcome as always.
__________________
JG-Webdesign |
|
|
|
|
|
#2 |
|
Newbie
|
Wow. How old are you?
![]()
__________________
Tɘʞ-V© |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Re: RicoRobots!!
If it's really that important, his age is listed in his profile.
|
|
|
|
|
|
#4 |
|
Professional Programmer
|
Re: RicoRobots!!
I'm not that old... If you like this game you can add features to it
. I did write a command prompt version with undo functionality. If you want a bigger challenge add an option where it would tell the player what the optimal move is in order to get to the goal square.
__________________
JG-Webdesign |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|