1 of my 6 featured projects uses Game: SnakeGame-CLI. Each one is open source.
Classic Snake game in the terminal. Cross-platform, no GUI dependencies.