Giter Site home page Giter Site logo

pypong's Introduction

PyPong

A slightly modified clone of Pong classic game implemented with Python and pyxel.

Demo!

Prerequisites:

  1. Cloned or downloaded repository.
  2. Python3 installed.
  3. pyxel installed. Manually by pip install pyxel or by pipenv sync in the root of the repository. Installation with Pipenv will make sure that all dependencies are correct.

Starting:

Run python main.py in the terminal while in the root of the repository.

Controls:

  1. and arrow keys to select options in menus.
  2. ENTER to choose option in menus.
  3. W and S to move the first player's paddle up and down.
  4. and arrow keys to move the second player's paddle up and down.
  5. Q or P to pause the game.
  6. ESC to quit the game.

Features:

  1. Navigation menus.
  2. Single-player mode with three levels of difficulty.
  3. Two-players mode.
  4. Two trajectories of the ball (possibility to "curve" the ball).

Ideas for further development:

  1. Sound effects.

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.