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
- Host: GitHub
- URL: https://github.com/kully/blokus
- Owner: Kully
- License: mit
- Created: 2020-01-04T05:25:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-31T00:55:30.000Z (over 2 years ago)
- Last Synced: 2025-02-09T21:30:02.875Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 144 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# blokus

### 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)