RCRPG

Revision as of 20:41, 30 December 2009 by rosettacode>Dkf (Use right header)

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
Task
RCRPG
You are encouraged to solve this task according to the task description, using any language you may know.

Use of the sledge should 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, and the Perl version comes from there.

C

See RCRPG/C.

Common Lisp

See RCRPG/Common Lisp.

Perl

See RCRPG/Perl.

Tcl

See RCRPG/Tcl.