RCRPG: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(I wanted the copyright basis a little clearer, if still a bit obtuse.)
Line 8: Line 8:
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.
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 [http://web.archive.org/web/20080212201605/http://shortcircuit.us/muddy-kinda-like-a-mud-but-single-player/ this blog post], and the Perl version comes from there.
This project is based on [http://web.archive.org/web/20080212201605/http://shortcircuit.us/muddy-kinda-like-a-mud-but-single-player/ this blog post] by [[User:Short Circuit|Michael Mol]], and the Perl version comes from there.


=={{header|C}}==
=={{header|C}}==

Revision as of 02:59, 26 February 2010

Task
RCRPG
You are encouraged to solve this task according to the task description, using any language you may know.

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.

C

See RCRPG/C.

Common Lisp

See RCRPG/Common Lisp.

Perl

See RCRPG/Perl.

Tcl

See RCRPG/Tcl.