Thumbnail

rani/games.git

Clone URL: https://git.buni.party/rani/games.git

Viewing file on branch master

1# Bejeweled
2
3Tile match game. Click on a tile to select it, click on another tile directly adjacent to swap the two. Click on a selected tile to deselect it. Press 'r' to restart the game with a new board.
4
5## Config
6
7* `X`: Width of the board
8* `Y`: Height of the board
9* `HIGHLIGHT`: Either `true` or `false`, whether or not to highlight tiles
10* `SHIFT_DELAY`: The delay between shifts of tiles above each other when a match is made
11* `MATCH_DELAY`: The delay after a successful match
12* `BAD_MATCH_DELAY`: The delay after a non successful match
13* `GRID`: Either `true` or `false`, whether or not to show the grid outline
14* `SEED`: Seed value for PRNG
15