Pong


Project Links


Badges


About

In my grade 9 computer science class, after a basic introduction to Python, we learned Pong. We did not create our own Pong, but rather made modifications to a basic version of Pong. According to Wikipedia, Pong was one of the earliest arcade video games and the very first sports arcade video game.


Development Guide

If you want to clone the repository and work on the project, please follow these instructions exactly.

You will need the following to run this project:

  • Git
  • Python

  • Most modern computers come with Git installed. If you do not have it installed, you can download it at https://git-scm.com/downloads.

    Make sure you have Python installed on your machine. Most modern Mac's come with Python pre-installed. You can check to see if Python is installed by typing:

    $ python

    If Python is installed, you should see the following message:

    Python 2.7.10 (default, Feb 8 2017, 20:04:21) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>

    Press control + z to exit the Python interpreter.

    Note - Do not type the $ as it is a reminder that it is a command, to be entered on the command line.

    To clone the repository, type in the following:

    $ git clone https://github.com/michael-bateman/pong-python

    Now, cd into the repository by typing:

    $ cd pong-python

    Make sure you have the correct modules installed, and type the following when ready to run the program.

    $ python <file_name>

    Now, the program should work!