Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1664 pj 1
################################################################
2
#               SHIP-BULLET-ASTEROID simulation game           #
3
################################################################
4
 
5
source  file :    Ship_v1.c
6
object  file :    Ship_v1.o
7
 
8
	##############
9
	#  Features  #
10
	##############
11
1. The program creates a ship. The motion of the ship can be controlled    (left, right, up and down).
12
2. The ship can fire bullets on pressing space bar (i.e. creates a new    task for each bullet).
13
3. Asteroids are generated at random (each asteroid is a new task).
14
4. Asteroids travel from right to left. When an asteroid reaches the    left most boundary, the task asteroid is destroyed.
15
5. Bullets travel from left to right. When a bullet reaches the right    most boundary, the task bullet is destroyed.
16
6. At any  point of time there are MAX_A = 35 asteroid tasks and MAX_B    = 35 bullet tasks on the screen.
17
7. In this way the creation of asteroid and bullet task is continuous    (till they do not reach the max value).
18
8. Bullets destroy the asteroids, while asteroids tries to destroy the    ship.
19
9. Everytime an asteroid is destroyed, the player gets a point and it    is displayed on the screen.
20
10.When an asteroid hits the ship, the game_finish flag is set and all    tasks are destroyed.
21
11.Once all tasks are destroyed, the game is  over.
22
 
23
The speed of bullet and asteroid can be controlled by setting the variable bullet_delay and asteroid_delay.
24
 
25
 
26
###############
27
# Future work #
28
###############
29
It is desirable to have a menu controlled GUI to play SHIP - ASTEROIDS game. This version of our program does not
30
support this functionality. We will soon work on this and send you the next version of this game, that will
31
be Menu driven.
32
 
33
######################
34
#  Project Members   #
35
######################
36
1. Kailash Kumar Sharma
37
2. Ramakrishnan S.
38
3. Rekha Rao