Giter VIP home page Giter VIP logo

trollface-dungeon's Introduction

Trollface Dungeon

A small, frightened Amogus is trapped in a dark dungeon swarming with angry Trollfaces who are out to kill him. The responsibility is yours to lead the Amogus to safety, evading all the Trollfaces. The problem is, you can only exit the dungeon if you collect all the coins lying around. Can you do it?

Rules

The dungeon consists of 3 levels, each harder than the previous one. Each level contains 4 outer walls with one sole exit, randomly generated inner walls and coins, and enemies that spawn in random positions. As you progress through the levels, the number of walls and enemies increases, making the game harder. You must collect all the coins to move to the next level, and if you come into contact with an enemy, you will die, and the game will be over. If you successfully manage to complete all 3 levels, the Amogus will be saved and you will win the game.

You have an option to toggle the lights on and off. The lights are on by default, but if they are off, you will only be able to see walls, enemies and coins in a 1-unit radius. However, the coins are worth twice as much in the dark.

Controls

W - Move up
A - Move left
S - Move down
D - Move right
Esc - Quit
SPACE - Toggle lights on and off

Setup

  1. Clone the repository.

  2. For convenience, a script has been provided to install the dependencies, compile the game and run it.

cd Trollface-Dungeon
./run.sh

The script can be run each time to run the game.

trollface-dungeon's People

Contributors

coniferousdyer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.