Robots game
Your goal in the lab which starts on Monday is to design and write a
program to play robots. This will be a graded lab which
you'll work on in groups of two, and which will involve a significant
amount of preliminary object-oriented design. Before doing any of
this, however, you need to play the game, which is the goal of the
current, short lab.
Play robots
The UNIX program robots predates the ubiquitousness of
graphical interfaces, so you have to play using keyboard input.
- In Emacs, type
M-x man (for
manual-page), and enter -M ~mc38/man robots.
This gives your directions on how to play. ``-M
~mc38/man'' says ``Please look for the man page in the MC38
directory.''
- Type
~mc38/bin/robots to play the game.
- Read the manual page for robots again and give some thought to
how you might design your class to implement the robot.
- Check off: If you think you are familiar with the game,
like how to win, how a player loses, and what every key does, ask to
get checked off.