RCRPG

From Rosetta Code

Jump to: navigation, search
RCRPG is a programming task. Visitors like you are encouraged to solve it according to the task description, using any language they may happen to know.
Add to BlogMarksAdd to del.icio.usAdd to diggAdd to NewsvineAdd to redditAdd to Slashdot
Create a simple interactive game which incorporates the following features:
  • room-based navigation in three integer dimensions (x,y,z)
  • player inventory
  • three types of item: sledge, gold and ladder
  • a goal coordinate

Use of the sledge should be required to create a passage between rooms. The ladder should be present in a room (but not held by the player), in order for the player to access the room above him. The gold need not have a function.

This project is based on this blog post by Michael Mol, and the Perl version comes from there.

Contents

[edit] C

See RCRPG/C.

[edit] Common Lisp

See RCRPG/Common Lisp.

[edit] Perl

See RCRPG/Perl.

[edit] Tcl

See RCRPG/Tcl.

Personal tools
Google AdSense