Skip to content

ttasc/gameforlinux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ GameForLinux

Play awesome Terminal UI games on Linux - No compilation, no hassle, just pure fun!

GitHub Release License: MIT Linux


โšก Quick Start

Install all games with one command:

curl -fsSL https://raw.githubusercontent.com/ttasc/gameforlinux/main/scripts/install.sh | sh

Your games are now ready to play! ๐ŸŽ‰


๐ŸŽฏ Available Games

Game Description Link
gotermoku A minimal, terminal-based Gomoku game written in Go. ttasc/gotermoku
typense A minimalist, real-time typing survival game for the terminal. ttasc/typense
termdash A minimalist geometry dash clone on the terminal. ttasc/termdash
termtron Real-time Tron lightcycle duel for the terminal. ttasc/termtron
termines A minimalist, terminal-first Minesweeper clone written in Go. ttasc/termines
sudokute A minimalist, terminal-native Sudoku implementation written in Go. ttasc/sudokute
2048 A minimal, terminal-based 2048 game. ttasc/2048

Built on the blazing-fast ttbox TUI library.


๐Ÿ“ฆ Usage & Installation Methods

Method 1: Using Make (Recommended for developers)

git clone https://github.com/ttasc/gameforlinux.git
cd gameforlinux

# Install all games
make install

# Or install a specific game
make install-sudokute

Method 2: Manual Download

Download the binary files directly from GitHub Releases on each game's repository. Then:

# Example for one game
chmod +x <game-name>
sudo mv <game-name> /usr/local/bin/

๐ŸŽฎ How to play

Just type the name of the installed game in your terminal:

sudokute

๐Ÿงน Management

make test             # Verify installations
make uninstall        # Remove all games
make uninstall-termines # Remove specific game
make build            # Build all games from source

๐Ÿ’ป System Requirements

  • OS: Linux, macOS (Darwin), FreeBSD, OpenBSD, NetBSD, DragonFly
  • Architecture: x86_64 (amd64), ARM64 (Apple Silicon), x86 (386)
  • Terminal: Any POSIX-compliant terminal
  • Dependencies: None! (Static binaries)

๐Ÿ“ Project Structure

This repository uses a zero-bloat, centralized configuration:

gameforlinux/
โ”œโ”€โ”€ CONTRIBUTING.md     # How to add a new game
โ”œโ”€โ”€ games.list          # Single Source of Truth for all games
โ”œโ”€โ”€ Makefile            # Dynamic task delegator
โ”œโ”€โ”€ README.md           # Project documentation
โ”œโ”€โ”€ scripts
โ”‚ย ย  โ”œโ”€โ”€ builds.sh       # Compile games from source
โ”‚ย ย  โ”œโ”€โ”€ install.sh      # Smart POSIX installer
โ”‚ย ย  โ”œโ”€โ”€ readme.sh       # Auto-generate games table for README.md
โ”‚ย ย  โ”œโ”€โ”€ test.sh         # Verify installations
โ”‚ย ย  โ”œโ”€โ”€ uninstall.sh    # Clean uninstaller
โ”‚ย ย  โ””โ”€โ”€ web.sh          # Auto-generate index.html from template.html
โ””โ”€โ”€ template.html       # A website template

๐Ÿค Contributing

Adding your game is incredibly easy! See CONTRIBUTING.md for details. TL;DR: Just add your game's repository name to the games.list file and submit a PR!


๐Ÿ“„ License

MIT License - See LICENSE file for details.


Made with โค๏ธ by ttasc

Releases

No releases published

Contributors