/cli-games

collection of classic CLI games, playable in a console

Primary LanguageC++GNU General Public License v3.0GPL-3.0

  • Each game is a completely standalone file
  • To build a game do:
g++ <game>.cpp -O2 -o <game>

then

./<game>

to run.

Game controls

Tetris

  • a left
  • d right
  • f drop
  • w rotate
  • s speed up

Snake

  • wasd directions

Minesweeper

  • wasd directions
  • Return uncover tile
  • Space add flag

All credits for square.ttf font go to https://strlen.com/square/