Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 25th, 2007, 12:45 AM   #1
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 415
Rep Power: 3 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
Cool RicoRobots!!

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.
Attached Images
File Type: png RicoRobots.PNG (16.4 KB, 12 views)
Attached Files
File Type: zip RicoRobots.zip (11.2 KB, 9 views)
__________________
JG-Webdesign
Wizard1988 is offline   Reply With Quote
Old May 13th, 2008, 2:18 AM   #2
Tek-DrIv3
Newbie
 
Tek-DrIv3's Avatar
 
Join Date: May 2008
Location: Fresno
Posts: 7
Rep Power: 0 Tek-DrIv3 is on a distinguished road
Send a message via MSN to Tek-DrIv3 Send a message via Yahoo to Tek-DrIv3
Red face Re: RicoRobots!!

Wow. How old are you?
__________________
Tɘʞ-V©
Tek-DrIv3 is offline   Reply With Quote
Old May 13th, 2008, 6:13 AM   #3
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
Re: RicoRobots!!

If it's really that important, his age is listed in his profile.
Sane is online now   Reply With Quote
Old May 13th, 2008, 10:11 AM   #4
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 415
Rep Power: 3 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
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
Wizard1988 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:24 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC