Skip to content

Repository files navigation

Python Games Collection

This repository contains a collection of classic games implemented in Python using the Turtle graphics library. Each game is contained within its own directory and can be run independently.

Resources

Code is from and inspired by with some improvements: 100 Days of Code: The Complete Python Pro Bootcamp https://www.udemy.com/share/103J8C3@0R0_ZWb7kJ4do0X-4zRsulmwTyefJndLSF7-DCQhp_3ojIbfiWmdBIvIMOalNv_ECg==/

Games Included

Blackjack

A simple implementation of the classic card game Blackjack.

  • File: blackjack/blackjack.py
  • How to Play: Run the script and follow the on-screen instructions to play Blackjack against the computer.

Pong

A classic Pong game where you can play against another player.

Snake

A classic Snake game where you control a snake to eat food and grow longer.

Tic Tac Toe

A simple Tic Tac Toe game where you can play against the computer.

  • File: tic_tac_toe/tic_tac_toe.py
  • How to Play: Run the script and follow the on-screen instructions to play Tic Tac Toe against the computer.

Turtle Crossing

A game where you control a turtle to cross the road while avoiding cars.

Turtle Race

A fun turtle race game where you can bet on which turtle will win.

  • File: turtle_race/turtle_race.py
  • How to Play: Run the script and follow the on-screen instructions to place your bet and watch the turtles race.

Requirements

  • Python 3.x
  • Turtle graphics library (usually included with Python)

How to Run

  1. Clone the repository:
    git clone https://github.com/theOrganizedMind/python_games.git
    cd python_games
    
  2. Navigate to the directory of the game you want to play and run the main script. For example, to play Blackjack: cd blackjack python blackjack.py

License

This project is licensed under the MIT License. See the LICENSE.txt file for details.

About

Contains a collection of classic games implemented in Python using the Turtle graphics library. Each game is contained within its own directory and can be run independently.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages