Skip to content

elliot31878/SuperMarioGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Super Mario Game

Welcome to the Super Mario game, a Python-based 2D platformer where you control Mario. The game features classic gameplay with modern code! Mario has 3 lives, must avoid falling mushrooms, and dodge crabs moving across the screen. Can you help Mario survive?

Screenshot (2274)@2x

Table of Contents

Game Features

start

  • 3 Lives: Mario starts with 3 lives. Once all lives are lost, it's game over.
  • Falling Mushrooms: Mushrooms fall from the sky at random positions. Avoid them to stay alive.
  • Moving Crabs: Crabs move horizontally from left to right across the screen. Avoid getting hit by them.
  • Classic Controls: Use arrow keys to move Mario left and right, and the spacebar to jump.
  • Dynamic Gameplay: As you progress, the speed of falling mushrooms and moving crabs increases, making the game more challenging.

Start Game

Gameplay

Screenshot (2276)@2x The goal of the game is to avoid obstacles (mushrooms and crabs) for as long as possible. You start with 3 lives, and each time you hit a mushroom or crab, you lose a life. When all lives are lost, the game ends.

The game progressively becomes harder, with obstacles increasing in speed, testing your reflexes and timing.

Installation

Follow the steps below to install and run the Super Mario game on your local machine.

Prerequisites

  • Python 3.x: Ensure Python is installed on your system. You can download it from python.org.
  • PyCharm: (Optional but recommended) Use PyCharm IDE for better development experience. You can download it from jetbrains.com.

Step 1: Clone the Repository

Start by cloning the GitHub repository:

git clone https://github.com/elliot31878/SuperMarioGame.git
cd SuperMarioGame
pip install -r requirements.txt

About

SuperMario Game With PyGame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages