OPEN SOURCE PYTHON PROJECT

Classic games.
Terminal first.

A growing collection of Python games built to practice algorithms, input handling, game loops, data structures and problem solving.

0Games
100%Python Core
MITLicense
python@arcade:~

user@arcade:~/games$ python tbg.py

Loading Python Terminal Games...

╔══════════════════════════════════╗

║ PYTHON GAME HUB ║

╠══════════════════════════════════╣

║ 1. Tic-Tac-Toe ║

║ 2. Number Guessing ║

║ 3. Word Chain ║

║ 4. Hangman ║

╚══════════════════════════════════╝

user@arcade:~/games$ ▋

THE COLLECTION

Choose your game

2048
PUZZLE

2048 CLI

Merge matching tiles using keyboard controls and chase the 2048 tile.

🐍
ARCADE

Snake

Control the snake, collect food, grow longer and avoid collisions.

🧱
ARCADE

Tetris / Play

Explore the project's falling-block and terminal gameplay experiments.

9×9
PUZZLE

Sudoku

Generate a board, validate moves and solve a classic 9×9 number puzzle.

◉
ARCADE

Pac-Man

Navigate a console maze, collect dots and avoid the ghost.

XO
CLASSIC

Tic-Tac-Toe

Play a simple terminal version against a computer opponent.

123
CLASSIC

Number Guessing

Use hints and logical narrowing to discover a randomly selected number.

ABC
CLASSIC

Word Chain

Continue the chain using the previous word's last letter.

A-Z
CLASSIC

Hangman

Guess letters before the available attempts run out.

WHY THIS PROJECT?

Learning Python through playable systems.

This repository is a practical collection of small games and experiments. Each game is an opportunity to work with control flow, functions, lists, randomness, input validation, terminal interfaces and game-state management.

The GitHub Pages site is a visual project showcase. The actual games remain Python programs designed to run locally from a terminal.

Explore the repository →

RUN LOCALLY

Try the games in your terminal.

Clone the repository, install Python 3 and launch a game from the project folder.

$ git clone https://github.com/MYG-1107/Python-Terminal-Based-Games.git
$ cd Python-Terminal-Based-Games
$ python tbg.py