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

[ bsd3, game, program ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0
Dependencies base (>=4.11 && <4.12), containers (>=0.5.10 && <0.5.12), directory (>=1.3 && <1.4), filepath (>=1.3 && <1.5), gloss (>=1.12 && <1.13), grid (==7.8.9), optparse-applicative (>=0.14 && <0.15), random (>=1.1 && <1.2) [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 2018-05-22T13:53:36Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hexmino
Downloads 1238 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2018-05-22 [all 2 reports]

Readme for hexmino-0.1.1.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