RCRPG

From Rosetta Code
Jump to: navigation, search
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.

Contents

[edit] C

See RCRPG/C.

[edit] C++

See RCRPG/C++.

[edit] C++11

See RCRPG/C++11.

[edit] Clojure

See RCRPG/Clojure.

[edit] Common Lisp

See RCRPG/Common Lisp.

[edit] D

See RCRPG/D.

[edit] Erlang

See RCRPG/Erlang.

[edit] Go

See RCRPG/Go.

[edit] Haskell

See RCRPG/Haskell.

[edit] Icon and Unicon

See RCRPG/Unicon

[edit] Inform 7

See RCRPG/Inform 7.


[edit] Java

See RCRPG/Java.

[edit] Oz

See RCRPG/Oz.

[edit] Perl

See RCRPG/Perl.

[edit] Perl 6

See RCRPG/Perl_6.

[edit] PureBasic

See RCRPG/PureBasic.

[edit] Python

See RCRPG/Python.

[edit] Ruby

See RCRPG/Ruby.

[edit] Tcl

See RCRPG/Tcl.

Personal tools
Namespaces

Variants
Actions
Community
Explore
Misc
Toolbox