Welcome to Samriddha Das Python Game Collection!
This repository contains three fun and educational games built using Python and *Pygame, designed for *beginner programmers and internship learners to explore logic, loops, and creativity in coding.
Description:
A simple, classic snake game where the player controls a snake to eat food and grow longer. The game ends if the snake hits the wall or itself.
Key Concepts:
- Loops and conditions
- Collision detection
- Score tracking
How to Play:
Use the arrow keys to move the snake.
Eat the red square to grow and score points!
Control a paddle to bounce a ball and break all the bricks on the screen.
Your score increases for every brick you break!
- Object movement using pygame.Rect()
- Ball reflection and collision detection
- Game over and win conditions
- Use the Left โฌ and Right โก arrow keys to move the paddle.
- Donโt let the ball touch the bottom of the screen!
A simple arcade-style game where the player controls a spaceship and shoots down enemies.
Your mission: Survive as long as possible while destroying enemy ships and scoring points!
- Event handling (keyboard input)
- Shooting mechanism
- Enemy generation and collision detection
- Move your ship with Left โฌ and Right โก arrow keys
- Press Spacebar to shoot
- Avoid enemy bullets and score as high as possible! ๐
Run Command:
python snake_game.py
python brick_breaker_game.py
python space_shooter_game.py