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
C[edit]
See RCRPG/C.
C++[edit]
See RCRPG/C++.
C++11[edit]
See RCRPG/C++11.
C++98[edit]
YARCRPG - See RCRPG/C++98.
Clojure[edit]
See RCRPG/Clojure.
Common Lisp[edit]
See RCRPG/Common Lisp.
D[edit]
See RCRPG/D.
Erlang[edit]
See RCRPG/Erlang.
Go[edit]
See RCRPG/Go.
Haskell[edit]
See RCRPG/Haskell.
Icon and Unicon[edit]
See RCRPG/Unicon
Inform 7[edit]
See RCRPG/Inform 7.
Java[edit]
See RCRPG/Java.
JavaScript[edit]
See RCRPG/Javascript.
Julia[edit]
See RCRPG/Julia.
Oz[edit]
See RCRPG/Oz.
Perl[edit]
See RCRPG/Perl.
Perl 6[edit]
See RCRPG/Perl_6.
Phix[edit]
See RCRPG/Phix.
PureBasic[edit]
See RCRPG/PureBasic.
Python[edit]
See RCRPG/Python.
Racket[edit]
See RCRPG/Racket.
Ruby[edit]
See RCRPG/Ruby.
Tcl[edit]
See RCRPG/Tcl.