<p align="left">
  <img src="../master/gameplays/gameplay8.gif" width=420 height=350/>
  <img src="../master/gameplays/gameplay4.gif" width=445 height=350/>
</p>



# πŸŽ‰ Awesome-Python-Games  

<a href="https://github.com/harismuneer"><img alt="views" title="Github views" src="https://komarev.com/ghpvc/?username=harismuneer&style=flat-square" width="125"/></a>
[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](#)
[![GitHub Forks](https://img.shields.io/github/forks/harismuneer/Awesome-Python-Games.svg?style=social&label=Fork&maxAge=2592000)](https://www.github.com/harismuneer/Awesome-Python-Games/fork)
[![GitHub Issues](https://img.shields.io/github/issues/harismuneer/Awesome-Python-Games.svg?style=flat&label=Issues&maxAge=2592000)](https://www.github.com/harismuneer/Awesome-Python-Games/issues)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat&label=Contributions&colorA=red&colorB=black	)](#)

[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](#)

Learn Python by developing fun to play games like Pong and Asteroids. The games range from basic ones (which demonstrate basic concepts in Python) to some advanced ones which demonstrate the concepts of Classes in Python along with the Physics logic required to make such games. 

These games were made as assignments during the course "[Interactive Programming in Python by Rice University - Part 1 & 2](https://www.coursera.org/learn/interactive-python-1)." I am sharing these for learning purposes since it always feels awesome to make a game using any programming language :)

There are total 8 games which are intuitively in increasing order of complexity hence making the last one named 'Asteroids' a really cool game to look at.

## 1- Rock-Paper-Scissors
<p align="center">
  <img src="../master/gameplays/gameplay1.gif"/>
  </p>

## 2- Guess the Number
<p align="center">
  <img src="../master/gameplays/gameplay2.gif"/>
  </p>

## 3- Stop Watch: The Game
<p align="center">
  <img src="../master/gameplays/gameplay3.gif"/>
  </p>

## 4- Pong
<p align="center">
  <img src="../master/gameplays/gameplay4.gif"/>
  </p>

## 5- Memory
<p align="center">
  <img src="../master/gameplays/gameplay5.gif"/>
  </p>

## 6- Blackjack
<p align="center">
  <img src="../master/gameplays/gameplay6.gif"/>
  </p>

## 7- Spaceship
<p align="center">
  <img src="../master/gameplays/gameplay7.gif"/>
  </p>

## 8- Asteroids
<p align="center">
  <img src="../master/gameplays/gameplay8.gif" width=520 height=350/>
  </p>


## How to Run
The games run on the browser-based programming environment [CodeSkulptor](http://www.codeskulptor.org/). Simply copy all of a game's code and paste it in the CodeSkulptor Editor. Then just click the Run button and the game will get started.

## Note
These games are built in Python 2. They use a specific library to draw the canvas and to do the event-based programming. This library named 'simplegui' is only accessible in the browser based IDE CodeSkulptor hence its necessary to run the code using CodeSkulptor. 


<hr>

## Author
You can get in touch with me on my LinkedIn Profile: [![LinkedIn Link](https://img.shields.io/badge/Connect-harismuneer-blue.svg?logo=linkedin&longCache=true&style=social&label=Follow)](https://www.linkedin.com/in/harismuneer)

You can also follow my GitHub Profile to stay updated about my latest projects: [![GitHub Follow](https://img.shields.io/badge/Connect-harismuneer-blue.svg?logo=Github&longCache=true&style=social&label=Follow)](https://github.com/harismuneer)

If you liked the repo then kindly support it by giving it a star ⭐ and share in your circles so more people can benefit from the effort.

## Contributions Welcome
[![GitHub Issues](https://img.shields.io/github/issues/harismuneer/Awesome-Python-Games.svg?style=flat&label=Issues&maxAge=2592000)](https://www.github.com/harismuneer/Awesome-Python-Games/issues)

If you find any bugs, have suggestions, or face issues:

- Open an Issue in the Issues Tab to discuss them.
- Submit a Pull Request to propose fixes or improvements.
- Review Pull Requests from other contributors to help maintain the project's quality and progress.

This project thrives on community collaboration! Members are encouraged to take the initiative, support one another, and actively engage in all aspects of the project. Whether it’s debugging, fixing issues, or brainstorming new ideas, your contributions are what keep this project moving forward.

With modern AI tools like ChatGPT, solving challenges and contributing effectively is easier than ever. Let’s work together to make this project the best it can be! πŸš€

## License
[![MIT](https://img.shields.io/cocoapods/l/AFNetworking.svg?style=style&label=License&maxAge=2592000)](../master/LICENSE)

Copyright (c) 2018-present, harismuneer                 

<!-- PROFILE_INTRO_START -->

<hr>

<h1> <a href="#"><img src="https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif" alt="Waving hand" width="28"></a>
Hey there, I'm <a href="https://www.linkedin.com/in/harismuneer/">Haris Muneer</a> πŸ‘¨πŸ»β€πŸ’»
</h1>


<a href="https://github.com/harismuneer"><img src="https://img.shields.io/github/stars/harismuneer" alt="Total Github Stars"></a>
<a href="https://github.com/harismuneer?tab=followers"><img src="https://img.shields.io/github/followers/harismuneer" alt="Total Github Followers"></a>

<hr>

- <b>πŸ•ΈοΈ Founder of Cyfy Labs:</b> At <a href="https://www.cyfylabs.com">Cyfy Labs</a>, we provide advanced social media scraping tools that enable businesses, researchers, and marketers to extract actionable insights from platforms like Facebook, Instagram, and X (formerly Twitter). Our tools are designed for use cases such as lead generation, market research, social listening, and more. Learn more at <a href="https://www.cyfylabs.com">www.cyfylabs.com</a>

- <b>🌟 Open Source Advocate:</b> Passionate about making technology accessible, I’ve developed and open-sourced several software projects for web, mobile, desktop, and AI on my <a href="https://github.com/harismuneer">GitHub profile</a>. These projects have been used by thousands of learners worldwide to enhance their skills and knowledge.

- <b>πŸ“« How to Reach Me:</b> To learn more about my skills and work, visit my <a href="https://www.linkedin.com/in/harismuneer">LinkedIn profile</a>. For collaboration or inquiries, feel free to reach out via <a href="mailto:haris.muneer5@gmail.com">email</a>. For Cyfy Labs related queries, please contact us through our <a href="https://www.cyfylabs.com">company website</a>.

<hr>

<h2 align="left">🀝 Follow my journey</h2>
<p align="left">
  <a href="https://www.linkedin.com/in/harismuneer"><img title="Follow Haris Muneer on LinkedIn" src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white"/></a>
  <a href="https://github.com/harismuneer"><img title="Follow Haris Muneer on GitHub" src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white"/></a>
  <a href="https://www.youtube.com/@haris_muneer?sub_confirmation=1"><img title="Subscribe on YouTube" src="https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge&logo=youtube&logoColor=white"/></a> 
   <a href="https://x.com/harismuneer99"><img title="Follow Haris Muneer on Twitter(X)" src="https://img.shields.io/badge/X-000000?style=for-the-badge&logo=x&logoColor=white"/></a>
 <a href="https://www.facebook.com/harism99"><img title="Follow Haris Muneer on Facebook" src="https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white"/></a>
   <a href="https://www.instagram.com/harismuneer99"><img title="Follow Haris Muneer on Instagram" src="https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white"/></a>
  <a href="https://www.tiktok.com/@harismuneer99"><img title="Follow Haris Muneer on TikTok" src="https://img.shields.io/badge/TikTok-000000?style=for-the-badge&logo=tiktok&logoColor=white"/></a> 
  <a href="mailto:haris.muneer5@gmail.com"><img title="Email" src="https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white"/></a>
</p>



<!-- PROFILE_INTRO_END -->