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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

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]

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.1.0
Change log None available
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:52:57Z

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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