Xasteroids() Xasteroids()
NAME
xasteroids - an X-Windows asteroids game.
SYNOPSIS
ast
DESCRIPTION
This game runs under UNIX in the X-Windows enviroment.
Keypress Command -------- -------
e Rotate counterclockwise ("left")
r Rotate clockwise ("right")
w Rotate 45 degrees counterclockwise
t Rotate 45 degrees clockwise
d Increase counterclockwise rotational velocity
f Increase clockwise rotational velocity
o Thrust
p Fire
` Shields
space Hyperspace
s Start new ship in center of playing field
(Also used to start a new game)
esc Pause
Q Quit Speed commands: Key associated with faster speed
is to the right of its
corresponding key associated with slower speed.
. Decrease delay: Speed game up
, Increase delay: Slow the game down
m Decrease size ("Minimize")
n Increase size
b Increase # of moves/frame
v Decrease # of moves/frame
2 Increase scale of movement
1 Decrease scale of movement
x Use XFillRectangle to erase screen
u Use undraw to erase screen
Object Score ------- ----- Big asteroid 25 Medium
asteroid 50 Little asteroid 100 Enemy spaceship 500 Enemy bullet
500
AUTHOR
Phil Goetz
goetz@cs.buffalo.EDU
- 1 - Formatted: December 16, 2025