Thumbnail

rani/games.git

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

Browsing tree for branch master, showing 2 entries

TypeFileLast CommitAuthorCommit Date (UTC)Size
txt README.md Add SEED definition for games utilizing rand() rani 17:32, Aug 13 2023 653 B
txt bejeweled.c Add SEED definition for games utilizing rand() rani 17:32, Aug 13 2023 6.95 KiB
README.md

Bejeweled

Tile 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.

Config

  • X: Width of the board
  • Y: Height of the board
  • HIGHLIGHT: Either true or false, whether or not to highlight tiles
  • SHIFT_DELAY: The delay between shifts of tiles above each other when a match is made
  • MATCH_DELAY: The delay after a successful match
  • BAD_MATCH_DELAY: The delay after a non successful match
  • GRID: Either true or false, whether or not to show the grid outline
  • SEED: Seed value for PRNG