Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1664 pj 1
From sharma@sssup.it Tue Jun 11 09:44:08 2002
2
Date: Mon, 10 Jun 2002 17:28:50 +0200
3
From: kailash <sharma@sssup.it>
4
To: pj@gandalf.sssup.it
5
Subject: Project Sumbmission: Ship_v1
6
 
7
Dear Sir,
8
 
9
Please find attached our project on SHIP-BULLET-ASTEROID simulation game.
10
source file :    Ship_v1.c
11
object  file :    Ship_v1.o
12
Zip      file:      Ship_v1.zip (also contains above two files)
13
 
14
Features:
15
1. The program creates a ship. The motion of the ship can be controlled
16
(left, right, up and down).
17
2. The ship can fire bullets on pressing space bar (i.e. creates a new task
18
for each bullet).
19
3. Asteroids are generated at random (each asteroid is a new task).
20
4. Asteroids travel from right to left. When an asteroid reaches the left
21
most boundary, the task asteroid is destroyed.
22
5. Bullets travel from left to right. When a bullet reaches the right most
23
boundary, the task bullet is destroyed.
24
6. At any  point of time there are MAX_A = 35 asteroid tasks and MAX_B = 35
25
bullet tasks on the screen.
26
7. In this way the creation of asteroid and bullet task is continuous (till
27
they do not reach the max value).
28
8. Bullets destroy the asteroids, while asteroids tries to destroy the ship.
29
9. Everytime an asteroid is destroyed, the player gets a point and it is
30
displayed on the screen.
31
10. When an asteroid hits the ship, the game_finish flag is set and all
32
tasks are destroyed.
33
11. Once all tasks are destroyed, the game is  over.
34
 
35
The speed of bullet and asteroid can be controlled by setting the variable
36
bullet_delay and asteroid_delay.
37
 
38
Future work:
39
It is desirable to have a menu controlled GUI to play SHIP - ASTEROIDS game.
40
This version of our program does not
41
support this functionality. We will soon work on this and send you the next
42
version of this game, that will
43
be Menu driven.
44
 
45
Project Members :
46
1. Kailash Kumar Sharma
47
2. Ramakrishnan S.
48
3. Rekha Rao
49
 
50
Regards,
51
Kailash Kumar Sharma
52
 
53
 
54
 
55
 
56
Kailash Kumar Sharma
57
SCUOLA SUPERIORE SANT'ANNA,
58
[International Master in Software Engineering],
59
Via Rinaldo Piaggio, 34
60
Pontedera - 56025
61
Italy
62
Mail to: sharma@sssup.it
63
              kailash_sharma@yahoo.com
64
Mobile: +39-3291 530027
65
 
66
 
67
    [ Part 2, Application/MS-TNEF  61KB. ]
68
    [ Unable to print this part. ]
69