Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
A GAME IN JAVA
A PROJECT REPORT
Submitted for the partial fulfillment of the
award of the
Degree of
BACHELOR OF TECHNOLOGY
In
COMPUTER SCIENCE AND ENGINEERING
By :
SANJAY KUMAR SINGH(CS,0309710090)
VIKRANT YADAV(CS,0309710116)
At
GALGOTIAS COLLEGE
OF
ENGINEERING AND TECHNOLOGY
Department of CSE
Galgotias College
of
Engineering &
Technology
Knowledge Park II, Greater
Noida.
Certificate
This is to certify that the project titled “2D RACING
CAR” has been completed successfully in Galgotias
College of Engineering & Technology by :
ACKNOWLEDGEMENTS
This project would not have been possible without the direct
involvement of the following people:
we extend our deepest regards to our project guide & prof, dept. of
CSE at Galgotias College of Engineering & technology,
Mr.Sanjeev Pippal, who gave so generously of his time &
experience. We are deeply indebted to his for his constant
encouragement to work on this game, which utilizes the latest
concepts in java. it is because of his infallible support that we have
been able to complete this project.
ABSTRACT
This game involves enemy car, the main car, road, tracks and
petrol. I have done as much justice to the game as I could although
I did want to add more features like 3D support etc but that would
have required a longer gestation period. Nevertheless, this game ,
as has been the response from my colleagues and teachers.
Moreover it is very simple to play .
TABLE OF CONTENTS :
S.No Topic Page
No
1. Preclude
1
2. Present scenario
2
3. Background
12
4. Feasibility Study
6. Design
7. Detailed Design
8. Deliverables
PRECLUDE
PRESENT SCENARIO
Developing games with the current Java platform can
be a challenge. Though that might sound like a
criticism of the technology, it can just as easily be
said about any game-related technology or platform.
Sooner or later, developers bump up against the
limitations of the platform and want more resources,
more control, and more power. This section identifies
some of the specific challenges related to developing
games on the Java platform through an analysis of
some of the major genres popular
in current game development. The discussion centers
on some of the key elements that each genre needs
to be able to execute to be considered successful. It
then maps those elements against the current Java
platform, identifying strengths and weaknesses that
may be exposed.
SPORTS GAMES
The sports genre is currently one of the most popular
in modern gaming. In early days, sports-related video
games were limited to those shown on major
television, such as baseball, football, and hockey. The
sports genre has benefited significantly from
increases in technology. When playing original sports
titles such as Atari Football on the Atari 2600,
viewers had to stretch their imagination to see the
star quarterback as a tiny pixel. Although it was a fun
game to play, almost everything was left to the
imagination. Newer technology sparked an increase
in overall complexity of sports titles, allowing for
league play as well as trading and customized player
creation. Current versions of sports titles are likely to
have almost a perfect tie-in with the current season
with regard to team rosters and player stats, as well
as startlingly realistic depictions of the stadiums and
the players’ images. Over time more niche sports
such as the X-Games have become popular. Some
have even achieved greater fame due to the video
game adaptations of their events, such as Tony
Hawk: Pro Skater by Neversoft. This game not only
allows players to
execute crazy tricks that defy the laws of physics
completely but also defies the main characters in the
game for their seemingly unlimited skateboarding
skills.
Pros
Cons
Offers strong network libraries
Lacks a standard performance timer
Provides a scalable database foundation
Lacks Java ports to major console
for use in custom playbooks and rankings platforms
TABLE 1.1 Pros and Cons of Java in Sports Games
PUZZLE GAMES
People love to solve puzzles. Puzzle games appeal to
a search for order in chaos and can also provide
hours of fun. If the total number of hours a student
spent playing Tetris were amortized over the total
amount of time spent in class during a college
year, the result would most likely show an amazing
number of hours spent playing the game in contrast
to studying. The puzzle genre is alive and well to this
day. Many Web sites have implemented Java applets
for popular games such as Chess and Spades, as well
as a number of original puzzle titles. A recent game
of note that was built in Java is the innovative
massively multiplayer online (MMO) pirate role-
playing game (RPG)/puzzle by Three Rings called
Puzzle Pirates (see Figure 1.1). In Puzzle Pirates,
players participate in pirate adventures in an online
RPG, but when trouble breaks out, the players must
use their powerful puzzle-solving skills to overcome
adversity.
Pros Cons
Offers a platform on which one can Timing concerns
could affect certain easily
develop games for release as either types of
game play
an applet or as a stand-alone application
Provides a built-in application program Many
browsers ship with outdated
interface (API) for rapid development Java Runtime
Environments
boost
TABLE 1.2 Pros and Cons of Java for Puzzle Games