Skip to main content

A collection of pygame mini-games

Project description

A collection of fun pygame mini-games — install once, play forever!


🕹️ Games Included

Game Description Controls
🟥 Tic Tac Toe Classic X and O with animated gradient background Click to place
🟨 2048 Slide and merge tiles to reach 2048 Arrow keys / Swipe
🚀 Space Shooter Shoot UFOs before they invade Arrow keys + Space
🐦 Flappy Bird Dodge pipes and survive Space to flap

⚙️ Installation

pip install fungames

Requires Python 3.7+ · pygame installs automatically


🚀 Quick Start

from fungames import tictactoe
tictactoe.play()

🎮 Play Any Game

# Tic Tac Toe
from fungames import tictactoe
tictactoe.play()

# 2048
from fungames import game2048
game2048.play()

# Space Shooter
from fungames import spaceshooter
spaceshooter.play()

# Flappy Bird
from fungames import flappybird
flappybird.play()

🎯 Controls

🟥 Tic Tac Toe

  • Click on any cell to place X or O
  • R to restart the game
  • Supports touch input

🟨 2048

  • Arrow Keys — slide tiles in any direction
  • Swipe — touch/mouse swipe supported
  • R — restart the game

🚀 Space Shooter

  • Left / Right Arrow — move the rocket
  • Space — fire bullet
  • Shoot all UFOs before they reach you!

🐦 Flappy Bird

  • Space — flap wings to go up
  • Release — bird falls with gravity
  • Dodge the pipes and survive!

📦 Requirements

  • Python 3.7+
  • pygame (auto-installed)

📈 Changelog

v0.1.0

  • Initial release
  • 4 games included: Tic Tac Toe, 2048, Space Shooter, Flappy Bird

👨‍💻 Author

Made with ❤️ by Soumyajyoti Ghosh

PyPI · fungames


📄 License

MIT License — free to use, modify and share!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fungames-0.1.1.tar.gz (5.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fungames-0.1.1-py2.py3-none-any.whl (5.4 MB view details)

Uploaded Python 2Python 3

File details

Details for the file fungames-0.1.1.tar.gz.

File metadata

  • Download URL: fungames-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for fungames-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ebb3d15fbf4e21ddd74c05b72f2e554070477852536de6a6d8de2d66fa841f7a
MD5 0417b7dc66543db1cdc845d5814d36c2
BLAKE2b-256 fe7c2f632dddf63e1d90262ac71614a6f12309e80775bce84dfcb8c5265f3c69

See more details on using hashes here.

File details

Details for the file fungames-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: fungames-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for fungames-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 72b2348d7d3c0757c3a74a7150fce10ce7a04ef768854cd9813a3cd8fce00b36
MD5 725d99515175f963b5a1306a5a96164c
BLAKE2b-256 caf80e7502b243ba426e656b41315fdbeb6a572f9f80a0f04f0cb90f9030606c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page