Skip to content

Mini desktop arcade built with Python Tkinter featuring six mini games

Notifications You must be signed in to change notification settings

Abin-28/Python_Mini_Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Mini Games (Tkinter)

A simple desktop app with six small games:

  • Tic-Tac-Toe
  • Rock Paper Scissors
  • Snake
  • 2048
  • Pong (single-player)
  • 15 Puzzle

Keyboard-only. Esc returns to menu; R restarts a game.

Requirements

  • Python 3.10+ on Windows
  • No extra packages (uses Tkinter)

Run

Open PowerShell in this folder and run:

py app.py

If that fails, try:

python app.py

Controls

  • Menu: Up/Down select, Enter play, Esc exit
  • Tic-Tac-Toe: Arrows move, Enter place, R restart
  • Rock Paper Scissors: Left/Right select, Enter play, R restart
  • Snake: Arrows move, R restart
  • 2048: Arrows move, R restart
  • Pong: Up/Down move paddle, R restart
  • 15 Puzzle: Arrows slide tiles, R reshuffle

Game descriptions and how to play

  • Tic-Tac-Toe: Place X and O in a 3×3 grid. First to get 3 in a row (horizontal/vertical/diagonal) wins. Use arrows to move the cursor and Enter to place.
  • Rock Paper Scissors: Choose Rock, Paper, or Scissors. Rock beats Scissors, Scissors beats Paper, Paper beats Rock. Use Left/Right to select and Enter to play against CPU.
  • Snake: Control the snake to eat food and grow. Avoid hitting yourself. The board wraps around edges. Use arrows to change direction.
  • 2048: Slide tiles with the arrows. When two tiles with the same number touch, they merge into one with the sum. Try to reach 2048 (or higher).
  • Pong: Keep the ball from leaving the left side using your paddle. Each paddle hit scores. Use Up/Down to move the paddle.
  • 15 Puzzle: Slide numbered tiles into the empty space to arrange them from 1 to 15. Use arrows to slide tiles toward the empty space; R reshuffles a solvable board.

About

Mini desktop arcade built with Python Tkinter featuring six mini games

Topics

Resources

Stars

Watchers

Forks

Languages