Giter VIP home page Giter VIP logo

pygames's Introduction

Pygames

A mono-repo for a collection of different games created with the Pygame library. Games are in various stages of development and functionality. The purpose of this repository is to get students to collaborate, learn GitHub, and have fun! So propose a new game or contribute to one listed here, but get involved and reach out to the club if you want help with setup or anything else!

Get Started

This repository's structure is as follows:

pygames (root)
  --game_title (game root)
    --src (application code directory)
      --class_directories (as needed)
      --main.py (application entry point)
      --requirements.py (packages required to develop the game)
  --game_title
    --(follow same pattern)

Each game directory is its own project.

Setup

Install Python 3.12

Fork the directory and set the upstream repository (see Workbook: Contribute)

Move into the directory of the game you wish to contribute to

cd <game_directory_name>

Create a virtual environment to install packages into

python3.12 -m venv .venv

Activate the environment

# macOS/Linux
source .venv/bin/activate
# PowerShell (Windows)
.venv\Scripts\Activate.ps1

Upgrade pip

python3.12 -m pip install --upgrade pip

Install required game packages

pip install -r requirements.txt

Start the game

python src/main.py

You are all set! If you have not yet taken one of the club's GitHub workshops or want a refresher visit our Workbook: Git & GitHub Chapter

Contributing

Feel free to start your own game or contribute to an existing one.

Not sure where to start? Visit the Issues section for a list of tickets that will help get you started.

See a bug or want to request a feature or change? Create an issue!

Workflow

Main is protected and will require a PR and approval to merge into main.

Game List

  1. Asteroid clone
  2. Conway's Game of Life

pygames's People

Contributors

sayyestotrees avatar jaredscarr avatar znschaffer avatar 1deolson 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.