Giter VIP home page Giter VIP logo

python_games's Introduction

Game Collection

Welcome to my game collection repository! This repository contains four games, each showcasing different aspects of game development using Python. Below, you'll find a brief description of each game, along with instructions on how to run them.

Table of Contents

Snake Game

Description

The Snake Game is a classic arcade game where the player controls a snake to collect food and grow in length. The goal is to avoid running into the walls or the snake's own body.

Features

  • Simple and intuitive controls
  • Increasing difficulty as the snake grows longer
  • Score tracking
  • Max Score Tracking

How to Run

  1. Ensure you have Python installed on your system.

  2. Navigate to the Snake_Game directory.

  3. Run the game using the following command:

    python3 snake.py

Kaooa Game

Description

  • Kaooa, also known as "Vulture and Crows," is a traditional Indian hunt game played on a unique pentagram-shaped board. It pits one player controlling the vulture against another controlling multiple crows, each with distinct movement and capture rules.

  • The detailed description of this game can be found here.

Features

  • Strategic gameplay with asymmetric roles (vulture vs. crows)
  • Pentagram game board for a distinctive playing experience
  • Objective-based win conditions for both players

How to Run

  1. Ensure you have Python installed on your system.

  2. Navigate to the Kaooa directory.

  3. Run the game using the following command:

    python3 kaooa.py

Tic-Tac-Toe Game

Description

This version of Tic Tac Toe implements the Minimax algorithm for an unbeatable AI opponent. The player can choose to play as X or O, and the game ensures a fair challenge.

Features

  • Play against an unbeatable AI
  • Simple and clean user interface
  • Option to play as X or O

How to Run

  1. Ensure you have Python installed on your system.

  2. Navigate to the MiniMax directory.

  3. Run the game using any of the following options:

    python3 HumanvsHuman.py
    python3 HumanvsAI_Minimax.py

Drawing Editor

Description

The Drawing Editor is a graphical application designed to create and manipulate various types of drawing objects on a canvas. It supports basic shapes like lines and rectangles.

Features

  • Create, manipulate, and delete drawing objects (currently supports lines and rectangles)
  • Select, move, copy, and edit existing objects
  • Group objects into larger units with recursive grouping and ungrouping capabilities
  • Save drawings to ASCII text files and export to XML for interoperability with other applications
  • Supports a canvas size of at least 400x400 pixels.
  • Primitives are rendered arbitrarily without depth ordering.

How to Run

  1. Ensure you have Python installed on your system.

  2. Navigate to the Drawing_Editor directory.

  3. Run the game using the following command:

    python3 main.py

python_games's People

Contributors

theculguy0099 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.