Lambda Criollo

Afp
-- JuanCardona - 06 Apr 2008

Lambda Criollo

Manual

Objective

The game's objective is recollect all treasures in all levels, one treasure for level. When you have recollected all treasure the game will automatically end.

Movements

The next is the list of all valid movements in our game:

  • 'h' -> left
  • 'l' -> right
  • 'k' -> up
  • 'j' -> down
  • 'y' -> left-up
  • 'u' -> right-up
  • 'b' -> left-down
  • 'n' -> right-down
  • '<' -> stair up level
  • '>' -> stair down level

Managing the doors

  • 'o' + movement key -> if you are next to a door, open the door
  • 'c' + movement key -> if you are next to a door, close the door

Picking up objects

  • ',' -> pick up.
    • T -> treasure + $ 20
    • $ -> gold + $ 10
    • M -> medicine + % 50 health
    • B -> bomb

Attack

If you are next to a monster you can attack him with the movement keys. Monsters next to you attack you too. You've got the power of decrease 50 % monsters health in each attack.

Monsters:

  • n -> Nose monster, moves randomly till smells you. Infinite smelling capacity. Power: 4% in each attack
  • r -> Walks always randomly (without returning to the previous place). Power: 10 % in each attack
  • e -> Ear monster, moves randomly till is close enough to listen you. If he listens you, he tries to go to the sound source. Power: 6% in each attack.

Leave a Bomb

  • '.' -> leave a bomb (red bakground): bombs can be putted only on the floor. Who walk on an activated bomb (monster or you) die.

Save Game

  • 's' -> save the actual state of the game.
  • 'a' -> restores the saved state.

Exit

  • 'Esc'

Extras

  • 'v' -> view all the level
  • 'm' -> create a new monster

Screenshots

Requirements

  • Linux (Intel)
  • ghc 6.8.2
  • Haskell Libraries:
    • vty 3.0.1
    • QuickCheck? 1.1.0.0
    • random 1.0.0.0
    • mtl 1.1.0.0
    • array 0.1.0.0
    • Cabal 1.2.3.0

Install instructions

  • You can install the executable if you accomplish all above requirements, or
  • You can download the tar file that contains all source code, and follow the next steps:
    • Go a directory were you want to install the source code.
    • Uncompress the tar file:

$ tar cvfz task.tar.gz

    • Then, change directory to task directory:

$ cd task

    • Give, the next command:

$ make

    • Move to directory dist/build/LambdaRogue/:

$ cd dist/build/LambdaRogue/

    • And, execute it:

$ ./LambdaRogue

Topic attachments
I Attachment Action Size Date Who Comment
elseEXT LambdaRogue manage 1683.4 K 08 Apr 2008 - 21:54 JuanCardona  
pngpng Screenshoot1.png manage 26.8 K 06 Apr 2008 - 17:20 JuanCardona  
pngpng Screenshoot2.png manage 35.6 K 06 Apr 2008 - 17:21 JuanCardona  
pngpng Screenshoot3.png manage 32.0 K 06 Apr 2008 - 17:21 JuanCardona  
pngpng Screenshoot4.png manage 30.3 K 06 Apr 2008 - 17:22 JuanCardona  
zipzip src_task.zip manage 28.2 K 08 Apr 2008 - 21:53 JuanCardona  
elsegz task.tar.gz manage 22.3 K 06 Apr 2008 - 21:32 JuanCardona