RobotEscape
1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...

Saturday, March 1st, 2008 | Programs

robotescape





For more including Author's Notes download the eBook pages with this program's code listing.

Robots are chasing you and you have nothing but your wits to avoid death with. You are the ‘O’, you are being pursued by the ‘+’ and if two of them collide they form a pile of debris that looks like ‘#’. The game is designed to be controlled with a standard number pad. Press 5 not to move for a turn and use 0 (zero) to activate your teleport-a-matic, your one weapon in avoiding your enemies.

The listing contains instructions that pretty much covers anything you need to know.

Robot Escape is written by Joseph Larson of Aurora, CO, USA.

Share and Enjoy:
  • StumbleUpon
  • Google
  • del.icio.us
  • Facebook
  • Digg
  • Slashdot
  • Fark
  • Live
  • Spurl
  • TwitThis
  • E-mail this story to a friend!
  • Reddit



Tags:

2 Comments to RobotEscape

GernotFrisch
March 10, 2008

Cool. I remember that game for my HP48G calculator. Very nice.

You’r using conio.h, which is Microsoft specific code. It’d be cool if you make a standard C++ version out of it (Type your direction: N,S,W,E: [] ) :D

Joe
March 10, 2008

Actually conio.h is originally a Borland library which defined several functions that even Borland doesn’t support any more. getche(), which works like getchar() but doesn’t wait for the ENTER key is the only one I allow myself to use because it’s in just about every compiler just happy and fine.

And by the way I use MinGW with Code::Blocks.

But you can just as easily search and replace getche() with getchar() and kill the #include . This program was actually written with getchar() first, but getche() works much better and makes me happy.

Leave a comment

Support Cymon's Games

Recent Comments

Search

Sponsored Links

Cymon's Amazon Store