mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 19:12:25 +00:00
added two more examples Tron and Vier
This commit is contained in:
parent
fd8a8cac54
commit
5356b94f89
7 changed files with 1741 additions and 0 deletions
27
src/test/X11/tron/Readme.md
Normal file
27
src/test/X11/tron/Readme.md
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
This is a game historycal source taken from http://web.archive.org/web/20050212180221/http://www.vis.inf.ethz.ch/~andy/Oberon.html
|
||||
|
||||
It serves as an example of XYplane module usage.
|
||||
|
||||
build by typing:
|
||||
|
||||
make
|
||||
|
||||
run by ./Tron <number>
|
||||
|
||||
Start Tron with a Games.Tron a ~
|
||||
a (1 - 10) speed of the game.
|
||||
|
||||
During the game, the following keys are availiable:
|
||||
|
||||
Player One:
|
||||
a ... turn left
|
||||
s ... turn right
|
||||
d ... turbo On/Off
|
||||
Player Two:
|
||||
4 ... turn left
|
||||
5 ... turn right
|
||||
6 ... turbo on/off
|
||||
General keys:
|
||||
p ... pause
|
||||
q ... quit
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue