Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
assets/sprites
contest-ready
dist
src
.gitattributes
.gitignore
LICENSE
README.txt
index.html
package-lock.json
package.json
webpack.config.js

README.txt

   ______        ______  ____ ____   ___  _ _____    ____    _    __  __ _____ 
  / ___\ \      / / ___|/ ___|___ \ / _ \/ |___  |  / ___|  / \  |  \/  | ____|
 | |  _ \ \ /\ / / |  _| |     __) | | | | |  / /  | |  _  / _ \ | |\/| |  _|  
 | |_| | \ V  V /| |_| | |___ / __/| |_| | | / /   | |_| |/ ___ \| |  | | |___ 
  \____|  \_/\_/  \____|\____|_____|\___/|_|/_/     \____/_/   \_\_|  |_|_____|
 __   __            ____  _           _ _   _   _       _     ____               
 \ \ / /__  _   _  / ___|| |__   __ _| | | | \ | | ___ | |_  |  _ \ __ _ ___ ___ 
  \ V / _ \| | | | \___ \| '_ \ / _` | | | |  \| |/ _ \| __| | |_) / _` / __/ __|
   | | (_) | |_| |  ___) | | | | (_| | | | | |\  | (_) | |_  |  __/ (_| \__ \__ \
   |_|\___/ \__,_| |____/|_| |_|\__,_|_|_| |_| \_|\___/ \__| |_|   \__,_|___/___/
                                                                                                                                                          
-------------------------------------------------------------------------------
 _  __            
| |/ /___ _  _ ___
| ' </ -_) || (_-<
|_|\_\___|\_, /__/
          |__/    

   [w]          [↑]
[A][S][D] or [←][↓][→] - moving

[F] or [Enter] - next turn

left mouse button on enemy - attack with sword or spell*
right mouse button on enemy - show enemy info and stats

*if enemy is next to you, you can attack only with sword

  ___                
 / __|__ _ _ __  ___ 
| (_ / _` | '  \/ -_)
 \___\__,_|_|_|_\___|

* The goal is to fight your way to the gate which travels you to the next level. 
* Gate is marked as blue circle and it is randomly spawned at the very top or right.
* Monsters will try to stop you.
* Monsters and terrain are spawned randomly on each level.
* You recover 1 mana, 3 attacks with sword and 3 moves every turn.
* On every next level there is 20% more enemies.
* There is no last level. The higher level you can get the more respect you'll get :D
* Every enemy can move 3 times and attack once in evefy turn. 
* Every enemy attack in diffrent way and have diffrent stats.
* If terrain will block your way, just restart level.

 ___           _ _    
/ __|_ __  ___| | |___
\__ \ '_ \/ -_) | (_-<
|___/ .__/\___|_|_/__/
    |_|               

- Lighting - one target, 3 DMG
- Fireball - multiple targets, instant kill, can destroy terrain*
- Freeze - one target, enemy can't move for 1 turn

 *but can be casted only on enemy
 _                _    
| |   _____ _____| |___
| |__/ -_) V / -_) (_-<
|____\___|\_/\___|_/__/

* Easy - normal enemies count, 40HP
* Medium - double enemies count, 25HP
* Hard - triple enemies count, 20 HP

 _  _     _       
| \| |___| |_ ___ 
| .` / _ \  _/ -_)
|_|\_\___/\__\___|

The 20KB restriction killed me and this game. I just couldnt do more. 
I had to remove mobile support in order to squeeze it under 20KB. 
I couldnt also add sound due to the same reason :(

Beside devkit included, I used http://dean.edwards.name/packer/ for more advanced compression.
It was still above 20KB, so I renamed by hand most of methods and selectors and 
finnally squeezed it exactly to 20 480 bytes.

-------------------------------------------------------------------------------
  ____                                    
 | __ ) _   _   _                         
 |  _ \| | | | (_)                        
 | |_) | |_| |  _                         
 |____/ \__, | (_)                        
   ____ |___/    _      _                 
  / ___|___   __| | ___| |__   ___  _   _ 
 | |   / _ \ / _` |/ _ \ '_ \ / _ \| | | |
 | |__| (_) | (_| |  __/ |_) | (_) | |_| |
  \____\___/ \__,_|\___|_.__/ \___/ \__, |
                                    |___/