-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
50 lines (32 loc) · 1.33 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Simple Pong (aka Pong2k++ v0.0.1)
===========================================================================
Rudimentary version of the old Pong game.
Originally hosted at:
http://www.coding-zone.com/?page=SPong
Installing (on Linux)
---------------------------------------------------------------------------
1) extract the source code
tar xzvf spong-0.0.1.tar.gz
2) compile the game
cd spong-0.0.1
make
3) run the game
./spong
Playing
---------------------------------------------------------------------------
Left player: "a" moves paddle up, "z" moves paddle down
Right player: "up arrow" moves paddle up, "down arrow" moves paddle down
"p" pauses game
"q" quits game
The up/down arrows navigate the menus. The first to six points wins and
the game starts over.
Troubleshooting
---------------------------------------------------------------------------
When initializing the SDL video mode, I've got HWSURFACE and DOUBLEBUF
enabled. If you're having problems, you could try SWSURFACE instead.
Porting
---------------------------------------------------------------------------
SDL is supposed to work on other platforms, but I don't have access to
any, so if you really want to run this on something other than Linux,
you'll have to port it your self. I'll gladly incorporate any changes
to make it portable if you donate them.