Professional Documents
Culture Documents
Submitted By
MC070400829
NOORUDDIN CHARANIA
I would like to dedicated this project to my VU course teachers without them I won’t be able to
work on it efficiently, and to the three most important demographic people, F1 lovers, Need for
Speed Game Players and Fast and Furious I,II,III,IV crazies.
2|Page
ACKNOWLEDGEMENT
I truly believe that what comes first will have the tendency to make a revolutionary shift in the
system. I want to acknowledge this project to Pakistan Highway Code booklet – Issued by the
Ministry of Communications Government of Pakistan and to my sister for her suggestions made a
significant contribution to the accuracy and clarity of the diagrams.
3|Page
PREFACE
The idea of 2D Car Racing for fun came when i saw Pakistan Highway Code Sign lying on my
desk drawer. i picked up it was neat, clean and not even a turn on the pages. I started turning
pages to check the content and eureka i found a small paper written "Someday, i will make a
game". What’s the best time then now. So, i tiled this topic for my final project - MBA(MIS),
Virtual University of Pakistan.
I really like to thank instructor of the subject for accepting this topic and given me a chance to
make an effort for my dream.
4|Page
TABLE OF CONTENTS
DEDICATION.................................................................................................................................2
ACKNOWLEDGEMENT...............................................................................................................3
PREFACE........................................................................................................................................4
TABLE OF CONTENTS................................................................................................................5
CHAPTER 1....................................................................................................................................7
CHAPTER 1 – Background and Introduction.................................................................................8
Background..................................................................................................................................8
Why this topic is selected ?......................................................................................................8
CHAPTER 2..................................................................................................................................10
CHAPTER 2 – Software require specification..............................................................................11
Scope (of the project).................................................................................................................11
Functional & Non- Functional Requirement.............................................................................11
Hardware: .............................................................................................................................12
Performance: ........................................................................................................................12
USAGE SCENARIOS...............................................................................................................16
SCENARIOS: ACCESS TO WEB SERVER.......................................................................16
5|Page
SCENARIOS: DOWNLOAD SECTION ON WEB SERVER.............................................17
CHAPTER 3..................................................................................................................................19
CHAPTER 3 – Design Document.................................................................................................20
Overview (of system) ...............................................................................................................20
Objectives of the game...........................................................................................................20
Level 0 Diagram....................................................................................................................23
Level 1 Diagram....................................................................................................................24
6|Page
CHAPTER 1
(Background & Introduction)
7|Page
CHAPTER 1 – Background and Introduction
BACKGROUND
RACE FOR FUN (RFF) - is a flash car racing game based on the principles of
Pakistan Highway Codes, completely fun. It includes a virtual environment for player to race,
explore, have fun and learn codes to accomplish the task of the game
RFF is the topic for Final Project at Virtual University of Pakistan. This project provide a
comprehensive detailed analysis of cases, classes, data flow diagram models, design
methodologies, also you can use this documentation for future references also.
8|Page
What are the Problems and Challenges?
My main goal for this project is to design all needed diagrams in a specified duration of time.
Along with, the case diagram which require mandatory correction. Specifically, i want to create a
Karachi city environment where players can race in a given period of time and learn as much as
possible with fun. Player can also share this game or refer this game to a friend. This is a flash
based project; the main problem with flash that it is dependent. It can't be function without
specifying application software. This problem resolved through web interface.
9|Page
CHAPTER 2
(Software Requirement Specification)
(Attach here already evaluated deliverable)
10 | P a g e
CHAPTER 2 – SOFTWARE REQUIRE SPECIFICATION
The idea of this project is to create a car racing game in Adobe Flash, which can be
playable online, offline or through embedment in different types of application such as
MS Excel, Power Point, Word etc. Also it can be share in online social networking such
as, FACE BOOK, TAGGED, ORKUT etc through web interface
1) INTERACTIVITY
2) CHECK POINT
3) PURSUIT
4) ENTERTAINMENT
5) EDUCATION
6) RELAXATION
7) PLAYABLE ANYTIME, ANYWHERE
8) SHARE WITH FRIENDS
1) CAR IMAGES
2) CAR MOVIECLIPS
3) SPEEDOMETER
4) ADDING VARIABLES
5) KEYPRESSES
6) CAR MOVEMENTS
7) ON FRAMES FUNCTIONS
8) CAR ROTATIONS
9) CAR WHEEL TURNING
11 | P a g e
10)ADDING ACCELERATION
Hardware:
• Pentium III or later
Operation System:
• Windows XP or above
Code Standard:
• The web pages will be coded in html by using Dreamweaver.
• The connection to the Storage database will be done through third party .
Performance:
• The system should be 99.9% online time.
12 | P a g e
USE CASE DIAGRAM
The first selection is to fill out a form. The questions on the form will be created in order to
KYC profile. This form will take input such as, names, age, profession This information will be
retained on the storage server and an e-mail will be sent to the person who fill out the form
The second selection is to the Download section. There are three choices on this page. One
choice is to play online. Second, is to share on social networking and third will download.
Certain fields in this section will be required, and list boxes will be used where appropriate.
13 | P a g e
The third page will be the courtesy page saying thank you. Also this page will provide boxes to
refer friends through email address. On which email will be sent
Step-by-step description
For this use case to be initiated, the user must be connected to the Internet to race 4 fun web
page
2. The user will be asked to sign up so a link will the storage server created through
interface.
3. This information will be passed to storage server and storage server will send the
confirmation email at the end.
14 | P a g e
USE CASE: Download Section on Web Server
Step-by-step description
For this use case to be initiated, the user must be connected to the Internet to race 4 fun web
page and on download page
2. The user will be asked to fill the form so a link will the storage server created through
interface.
3. This information will be passed to storage server and storage server will send the
confirmation email at the end.
4. The page will be displayed where user will select to download from 3 options
5. First, Option will be to play online the system will go to storage server to load file
6. Second, to download locally the storage server provide file in MS Office format
7. Thrid, to share with social networking , web page will ask to select the social network
and than a link to social network will be created.
15 | P a g e
USE CASE : Refer to a friend page
Step-by-step description
For this use case to be initiated, the user must be connected to the Internet and have completed
both 2 steps
1. The user will be asked to provide email address so he can refer this game to his friend.
USAGE SCENARIOS
16 | P a g e
Reference SRS 3.1
17 | P a g e
SCENARIOS:REFER TO A FRIENDS PAGE
Use Case Name: Refer to a friend pager
Priority If time permits
Trigger Inputs
Precondition User is already completed download page on web server
Basic Path Web server will now ask to refer a friend through normal text boxes
Alternate Path N/A
Postcondition User has passed the Home Page or User have played online game
Exception Path If there is a connection failure the server The page is not displayed
message will appeared.
Other
Reference SRS 3.3
18 | P a g e
CHAPTER 3
(Design Document)
19 | P a g e
CHAPTER 3 – DESIGN DOCUMENT
The game world consists of several locations to make up the streets of Karachi city. The game
is not based on any historically accurate map of the city. The game world is entirely built from
my own imagination and design.
The physical world consists of areas and streets. Areas are linked to other areas, and street
crossing those areas. Some objects have been created, used, or manipulated, but other objects
are static, and serve only as scenery. though game characteristics would allow players to
immerse themselves in the RFF World.
Quaid-e-Azam Mazhar
Jail Chorangi
Bahadurabad Chorangi
Balouch Colony
20 | P a g e
Traveling in the game
Player can travel between location by keyboard pressing keys such as Up, Down, Left and Right.
There are no different areas in the game to be played. Direction in the games will be provided by
Pakistan Highway Code Standards, The game uses only minimum level of codes.
21 | P a g e
DATA FLOW DIAGRAMS (DFD)
Context Diagram
22 | P a g e
Level 0 Diagram
23 | P a g e
Level 1 Diagram
24 | P a g e
ENTITY RELATIONSHIP DIAGRAM (ERD)
25 | P a g e
Sequence Diagrams
26 | P a g e
ARCHITECTURE DESIGN DIAGRAM (HARDWARE & SOFTWARE ARCHITECTURE)
27 | P a g e
CLASSDIAGRAM
28 | P a g e
DATABASE DESIGN
29 | P a g e
30 | P a g e
TEST CASES
Test Case # 1
Test Case Title: Testing the login mechanism of RFF System
Result: Pass
Test Case # 2
Test Case Title: Testing the Selection mechanism of RFF System
Result: Pass
Test Case # 3
Test Case Title: Testing the Selection mechanism of RFF System
Actions Click the Icon and select the appropriate Social Network
31 | P a g e
Expected Results Social Network Login Page Appeared
Result: Pass
Test Case # 4
Test Case Title: Testing the Selection mechanism of RFF System
Result: Pass
Test Case # 5
Test Case Title: Testing the Game Menu
Result: Pass
Test Case # 6
32 | P a g e
Test Case Title: Testing the Game while playing
Result: Pass
Test Case # 7
Test Case Title: Testing the Game while playing
Result: Pass
Test Case # 8
Test Case Title: Testing the Game while playing
Result: Pass
33 | P a g e
Test Case # 9
Test Case Title: Testing the Game while playing
Result: Pass
Test Case # 10
Test Case Title: Testing the Game while playing
Result: Pass
Test Case # 11
Test Case Title: Testing the Game while playing
34 | P a g e
Tested By: Nooruddin
Result: Fail
Test Case # 12
Test Case Title: Testing the Game while Playing
Result: Fail
Test Case # 13
Test Case Title: Testing the Game while Playing
Result: Pass
Test Case # 14
Test Case Title: Testing the Game while Playing
35 | P a g e
Preconditions User wants to change car
Result: Fail
Test Case # 15
Test Case Title: Testing the Game while Playing
Result: Pass
Test Case # 16
Test Case Title: Testing the Game while playing
Preconditions User after breaking signal see that the signal is green and sign has
changed
Result: Pass
36 | P a g e
Test Case # 17
Test Case Title: Testing the Game while Playing
Preconditions User sees that the direction of destination changes as he breaks the
signal and wants back to the same signal
Result: Fail
Test Case # 18
Test Case Title: Testing the Game while Playing
Preconditions User see yellowish red flashing signal at a particular location and
finds out that there was an terrorist blast activity occurred and move
toward that location
Result: Pass
Test Case # 19
Test Case Title: Testing the Game while Playing
Preconditions After reaching toward that location User see a sign notification and
37 | P a g e
move towards the location
Result: Fail
Test Case # 20
Test Case Title: Testing the Game while playing
Result: Pass
Test Case # 21
Test Case Title: Testing the Game while Playing
Expected Results Time duration displayed and the message that could make it on time
Result: Pass
38 | P a g e
Test Case # 22
Test Case Title: Testing the Game while Playing
Actions Click ok
Result: Pass
Test Case # 23
Test Case Title: Testing the Game while Playing
Result: Pass
Summary
Pass 18
Fail 5
39 | P a g e
40 | P a g e
CHAPTER 4
(Analysis)
41 | P a g e
CHAPTER 4 - ANALYSIS
PROJECT BENEFITS
In economics it is said that when Marginal Social Cost = Marginal Social Benefits than it
becomes equilibrium. This project is very much economical. Apart from Hosting Charges there
is no additional cost involves.
MSC = MSB
Secondly, the game is free to download and play, Now, we can say that Player after playing
RFF educate themselves with Highway Codes along with fun which will be equal to cost of
driving a car with the more powerful knowledge of reading road signs.
As its says
And in future if data collected from this website will be efficient than it can be used to market
new car related product.
42 | P a g e
CONCLUSION
Based on the fact that RFF offers a good interactivity with existing functionality, i can assume
that it has a good chance to grabs many users.
By observation i can conclude that RFF with no restriction and good audio support will make a
environment for young’s to learn about traffic. This game is only for environments where the
user can access to the internet, and downloadable version is also available.
43 | P a g e
RECOMMENDATION
Always give it a try approach, before making comments I believe that gaming is a conceptual
design, for a players it’s a virtual world but for a developer it’s how he make efficient use of key
presses, key release and loop.
44 | P a g e
REFERENCES
PHOTOSHOP, http://www.adobe.com/products/photoshop
TINYSOLDIERS, Tiny Soldiers the Rise of Mosquito, Global Game Jam 2009,
http://globalgamejam.org/games/tiny-soldier-rise-mosquitos
Tutorials, http://www.tutplus.com
45 | P a g e