An open API service indexing awesome lists of open source software.

https://github.com/kully/blokus

a blokus engine written in C
https://github.com/kully/blokus

Last synced: about 1 year ago
JSON representation

a blokus engine written in C

Awesome Lists containing this project

README

          

# blokus

![Image](imgs/blokus.png)

### To Build

`$ make`

### Controls

1. Note that the program will _not_ automatically tell you if you are out of moves. If you are out of moves, press the `S` key to skip your turn and let the next available player play.

2. If you have played all of your pieces, the program will automatically switch to the next player who has not played all of their pieces.

3. If you have determined that there are no more pieces to play, press `E` to end the game, calculating the scores and determining the winner.

_SPACE_ := place piece on board

_C KEY_ := rotate piece

_A KEY_ := reflect piece

_S KEY_ := skip turn

_P KEY_ := print piece to terminal (debugging)

_Z KEY_ := swap piece (backwards)

_X KEY_ := swap piece (forwards)

_E KEY_ := end game (calculate scores, etc)