Skip to content

Thecentury/brickudoku

Repository files navigation

Brickudoku Build Status

Hackage Stackage Lts MIT license

A terminal interface for Brickudoku game — a hybrid of Sudoku and Tetris.

brickudoku gameplay

Built on top of the brick library which makes building terminal user interfaces very accessible. Sam Tay also has a nice tutorial that can help you get started.

Installlation

Install from source

First get stack. Then

git clone https://github.com/Thecentury/brickudoku.git
cd brickudoku
stack build
# run using stack
stack run
# alternatively, copy the executable to ~/.local/bin
stack install brickudoku
brickudoku

Windows support is unfortunately questionable, but you can try building it in WSL.

Usage

Run the game by simply executing the brickudoku command.

Development

To run the tests,

stack test

To see the test tree in TUI,

stack test --test-arguments "--tui"

To-do

Must have

  • Package and publish (to Hackage?)

Nice to have

  • Initialize the game with a custom seed

Releases

No releases published

Packages