Skip to content

Commit

Permalink
Merge pull request #5 from MarekSuchanek/game
Browse files Browse the repository at this point in the history
Game
  • Loading branch information
MarekSuchanek authored Dec 27, 2016
2 parents ed0b2ec + bd610e8 commit c5d8447
Show file tree
Hide file tree
Showing 8 changed files with 954 additions and 112 deletions.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/license-GNU GPL v3-blue.svg)](LICENSE)
[![Build Status](https://travis-ci.com/MarekSuchanek/maze.svg?token=XD73y3snHDycemSiHx3H&branch=master)](https://travis-ci.com/MarekSuchanek/maze)
[![Version](https://img.shields.io/badge/release-v0.3-orange.svg)](setup.py)
[![Version](https://img.shields.io/badge/release-v0.4-orange.svg)](setup.py)


This project is series of tasks for [MI-PYT](https://github.com/cvut/MI-PYT)
Expand Down Expand Up @@ -104,6 +104,31 @@ Within GUI you can:
* there is some useful basic information in the status bar (position,
size, ...)

### Game mode

You can switch from _edit_ mode to _game_ mode (Ctrl+SPACE) where is your task to protect
the castle (or more castles) against dudes by building and destroying simple walls (not
strong walls). When any dude reaches any goal game end. By the way, you cannot cut dude from
goal - it would be too simple!

Types of dudes (enemies):
* **Speedy** - In free time Speedy exercise a lot and thanks to that he is constantly 75%
faster than other dudes (except Accel'e'rator).
* **Acccel'e'rator** - His only desire is to reach the castle first. At start it might doesn't
look that way, but beware - he can speed up a lot! At each step he can increase his speed by
20% of default speed with probability 10%. His maximal speed is 80% faster then other dudes
(except Speedy).
* **Le Parkour** - Usually hangs out in big cities so walls are not and obstacle for him. He
can simply jump over 1 wall after walking at least 5 steps if place behind the wall is
accessible and closer to the goal. But can't jump to place closer to goal by more than 5
steps.
* **Tele del Porto** - He has incalculable abilty to teleport himself just by the force of
his own will to random accessible place with probability 20%. His will is usually kinda weak so
the place can be closer and also farther to the goal but never closer than 5 steps. Minimal
distance of the teleportation is 5.
* **Scatterbrain** - Total lunetic who escaped asylum. His best friend is chaos so he can choose
other direction than is the shortest one with probability 25%.

## Testing

After installing dependencies and compilation you can run (analysis)
Expand Down
Loading

0 comments on commit c5d8447

Please sign in to comment.