Skip to content

Sinhan88/python-challenge

Repository files navigation

Dodge The Obstacle

Dodge The Obstacle is a simple game built using Pygame, inspired by Tech With Tim's tutorials.

Table of Contents

Introduction

Dodge The Obstacle is a Python game developed with the Pygame library. It challenges players to navigate a character through obstacles and survive as long as possible.

Features

  • Simple and intuitive gameplay
  • Randomly generated obstacles
  • Score tracking

Installation

  1. Clone the repository:

    git clone https://github.com/Sinhan88/python-challenge.git
    
  2. Install dependencies:

    Pip install pygame

How to play

Launch the game by running Dodge_The_Obstacle.py. Use the arrow keys to control the character and dodge the falling obstacles.

  • Controls Move Left: A Move Right: D

  • Game Over and Restart If the character collides with an obstacle, the game ends. To restart the game after it's over, press R when prompted.

  • Dependencies The game relies on the Pygame library. Make sure to install it using the provided instructions.

Acknowledgements

This project was developed with inspiration from Tech With Tim. Special thanks to Tim for his Pygame tutorials.

Feel free to contribute, report issues, or suggest improvements!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages