A small game based on domino-like hexagonal tiles.
Hexmino is a small game where you have to put domino-like hexagonal tiles into a grid in as little time as possible
Hexmino
Hexmino is a small game where you have to put domino-like hexagonal tiles into a grid in as little time as possible.
This game was written in haskell mostly as an experiment in the use of the gloss library.
Installation
Note: You may need to install freeglut or glfw for hexmino to work, for more info see the gloss website.
For ArchLinux the binary from the latest github release should work. For other Linux distro the binary may work as well, or you can build from source.
You can build from source using cabal-install. Since hexmino is on Hackage you can just use:
$ cabal install hexmino
or install from the cloned repository:
$ git clone https://github.com/pasqu4le/hexmino.git
$ cd hexmino
$ cabal install
How to play
Once you selected a difficulty level and started the game you can drag and drop tiles from the queue on the right onto the grid. You can rotate the tile you are dragging by pressing the spacebar.
The game ends when (and if) the grid is full and every tile on the grid matches with it's neighbours with each of it's faces.
The better your time, the better your position in the leaderboard.
Command line arguments
You can only select the frames per second used in the game using --fps
or -f
, for example: hexmino --fps 120
. If you don't specify it defaults to 60 fps.
TODOs
- better text rendering (both in quality and performance), maybe using a font
- background music
- widgets animations.