Skip to content

other-jex/simple_game_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

🎮 Collect the Coins (Pygame)

A fun little game built with Pygame where you control a green square 🟩, collect yellow coins 🟡, and avoid red obstacles 🟥.
Win by collecting 10 coins without crashing into the obstacle!


✨ Features

  • 🟩 Move the player using arrow keys.
  • 🟡 Collect coins to increase your score.
  • 🟥 Avoid the red obstacle — hit it and it's Game Over ❌.
  • 🏆 Win when you reach 10 points.
  • 🔄 Restart or quit from the end screen.

🕹️ Controls

  • ⬆️ Up Arrow → Move Up
  • ⬇️ Down Arrow → Move Down
  • ⬅️ Left Arrow → Move Left
  • ➡️ Right Arrow → Move Right
  • 🔄 Press R → Restart game (after win/lose)
  • ❌ Press Q → Quit game

🚀 Getting Started

1️⃣ Install dependencies

Make sure you have Python 3 and Pygame installed:

pip install pygame

About

A simple Pygame where you control a green square, collect yellow coins, avoid red obstacles, and try to reach 10 points to win.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages