https://github.com/lmacken/pong.bas
A pong-like game written in QuickBASIC
https://github.com/lmacken/pong.bas
Last synced: 3 months ago
JSON representation
A pong-like game written in QuickBASIC
- Host: GitHub
- URL: https://github.com/lmacken/pong.bas
- Owner: lmacken
- Created: 2011-09-23T17:30:48.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-10-16T03:27:34.000Z (about 14 years ago)
- Last Synced: 2025-03-15T05:47:12.760Z (10 months ago)
- Language: Visual Basic
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.rst
Awesome Lists containing this project
README
pong.bas
========
A pong-like game written in QuickBASIC.
+--------------------------------------------+-------------------------------------------+
| .. image:: http://lewk.org/img/pong4.png | .. image:: http://lewk.org/img/pong5.png |
+--------------------------------------------+-------------------------------------------+
| .. image:: http://lewk.org/img/pong2.png | .. image:: http://lewk.org/img/pong3.png |
+--------------------------------------------+-------------------------------------------+
Story
-----
During CS1 class my freshman year in high school, our teacher got very angry with
everyone in the class playing flash games during the lab. He made a rule where
"you can only play games if you write them yourselves". The next day, everyone
in the class was playing pong.
Running
-------
Windows
~~~~~~~
* Download `QBasic `_
* Open `pong.bas` and press F5
Linux
~~~~~
* Install necessary dependencies: yum install SDL_{ttf,mixer,net,image}-devel gcc-c++
* Download `QB64 `_
* Extract the tarball and run ./setup.sh
* Open ``pong.bas``
* Change the ``speed`` to a something much higher, like ``1000000`` (based on the speed of your CPU).
Author
------
* `Luke Macken `_