/Pong-Plus

Pong Plus is a pong game created by Perguruan Bunglon Beracun.

Primary LanguagePython

Pong Plus by Perguruan Bunglon Beracun

Pong Plus is a pong game created by Perguruan Bunglon Beracun.

Library Docker Github Commit Github Contributors

Table of Contents

Contributing

Introduction Game

Installation Steps

Running the Game with Docker

Running the Game with Python

UML Diagram

Screenshots

Members of the Team

Name NIM Role Github
Naufal Taufiq Ridwan 120140044 Project Manager + Programmer n0l3r
Andre Riatasa Wijaya 120140166 Programmer PoohNoCounter
M. Herton Amarta Buana 120140182 Programmer HrtnZx
Vinsensius Robby Anggara 120140192 Designer vinsensiusrobby15
Afif Syaifullah Fattah 120140229 Programmer AfifSaifullah
Yusuh Hafidz 120140234 Designer + Programmer hfdzz

Inroduction Game

Pong Plus is a two dimensional game that played by two players. Rule of the game similar to the classic game pong, which is a ball will be thrown from the middle of the board and every player can bounce the ball with a paddle that are on the left and right of the game board. This game is played by two players who compete.

Installation Steps

  • Install Python 3.6 or higher
  • Install python-pip or python3-pip
  • Open terminal where you want to clone the repository and run the following command:
    git clone https://github.com/n0l3r/Pong-Plus.git
    cd Pong-Plus
    pip install -r requirements.txt
    

    Running the Game with Docker

  • Install Docker
  • Run the following command to start the game:

    chmod +x docker-run.sh
    ./docker-run.sh
    

    or run the docker command directly:

    docker build -t pong-plus .
    xhost +
    docker run --rm -e DISPLAY=$DISPLAY \
               -v /dev/snd:/dev/snd \
               -v /tmp/.X11-unix/:/tmp/.X11-unix/ \
               --privileged \
               --name pong-plus pong
    

    Running the Game with Python

  • Install Python 3.6 or higher
  • Run the following command to start the game:
    python3 main.py
    

    alternative command:

    python main.py
    

    UML Diagram

    Screenshots

    Video run with Docker

    Running pygame with docker container - IF2223 Operating System