RCRPG
From Rosetta Code
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:
You are encouraged to solve this task according to the task description, using any language you may know.
- 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] C++
See RCRPG/C++.
[edit] Clojure
See RCRPG/Clojure.
[edit] Common Lisp
See RCRPG/Common Lisp.
[edit] D
See RCRPG/D.
[edit] Icon and Unicon
See RCRPG/Unicon
[edit] Go
See RCRPG/Go.
[edit] Inform 7
See RCRPG/Inform 7.
[edit] Oz
See RCRPG/Oz.
[edit] Perl
See RCRPG/Perl.
[edit] PureBasic
See RCRPG/PureBasic.
[edit] Python
See RCRPG/Python.
[edit] Ruby
See RCRPG/Ruby.
[edit] Tcl
See RCRPG/Tcl.