pzavolinsky / hungry-knight

Essentially you are a Knight and must capture every pawn in the board

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hungry Knight

Hungry Knight is an extremely simplified version of the Knight's Tour problem. Essentially you are a Knight and must capture every pawn in the board.

This project is intended as an excuse to build a real app using Haskell that, incidentally, might be fun to play with.

Installation

To build this app you'll need GHC and Snap.

Just as a hint, here are some shell commands randomly collected from my .bash_history (note that some of these might not even run):

sudo apt-get install ghc
sudo apt-get install libghc-random-dev
sudo apt-get install cabal-install
cabal update
cabal install snap

Then, cross your fingers and run:

make

Finally browse http://localhost:8000/.

About

Essentially you are a Knight and must capture every pawn in the board

License:MIT License


Languages

Language:HTML 48.9%Language:Haskell 45.7%Language:JavaScript 3.0%Language:Makefile 2.5%