hexmino: A small game based on domino-like hexagonal tiles

[ bsd3, game, program ] [ Propose Tags ]

Hexmino is a small game where you have to put domino-like hexagonal tiles into a grid in as little time as possible


[Skip to Readme]
Versions 0.1.0.0, 0.1.1.0
Dependencies base (==4.11.*), containers (>=0.5.10 && <0.5.12), directory (==1.3.*), filepath (>=1.3 && <1.5), gloss (==1.12.*), optparse-applicative (==0.14.*), random (==1.1.*) [details]
License BSD-3-Clause
Author pasqu4le
Maintainer pasqu4le@gmail.com
Category Game
Home page https://github.com/pasqu4le/hexmino
Source repo head: git clone git://github.com/pasqu4le/hexmino.git
Uploaded by pasqu4le at Thu May 17 12:52:44 UTC 2018
Distributions NixOS:0.1.1.0
Executables hexmino
Downloads 130 total (12 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-05-17 [all 2 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hexmino-0.1.0.0

[back to package description]

Hexmino

Hexmino is a small game where you have to put domino-like hexagonal tiles into a grid in as little time as possible.

screenshot

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