Sr. No:- 525/16 Branch:- Computer Science & Engg. Contents • Objective of the Project • Introduction • Levels in the Game • Score Calculation • Materials & Methods • Result Objective • The main objective of the project is to develop an Archery Game with additional features from existing games which is fully playable on PC for the recreation and entertainment purpose. • Archery Game also introduces a number of features that makes it friendly for PC players, who may want an easier challenge than the typical game offers. Introduction • Archery Game is a single player game based on java. • The game deals with hitting the arrows at some specified angle on to the dartboard. • It is a time based game. The timer is of 60 sec and the arrows are given to the player until the timer is over. • Points are awarded to the player according to position of hit arrows on the dartboard. Levels in the game • The game consists of three levels which are differentiating from each other on the basis of movement of dartboard. • Easy Level: In this level the dartboard remains static. So user can easily hit the arrows on the dartboard. • Medium Level: In medium level the dartboard moves vertically in upward and downward direction which increases the difficulty of the game. • Hard Level: In this level the dartboard appears randomly on the game console & the user has to hit the arrows as fast as possible because the dartboard changes its position after a few seconds. Score Calculation 10
• Score of the player is calculated by two criteria: 20
30 a) Points: Points are awarded to the player on 40 50 the basis of hit arrow. The score as well as the no of hit arrows are updated simultaneously.
b) Accuracy: This defines the player’s accuracy of hitting arrows in
terms of percentage. Both the score and accuracy is updated when the timer is over. Materials and Methods • Archery Game interface : is implemented using java swings. • Game Panel: It provides implementation of two prime entities: Bow and the Dartboard. • Creates new position of dartboard. • Setting of angle and releasing of arrow. • Keeps an account of how many arrows are hit arrows & based on that the accuracy of the player is calculated. Result Level Screen New Game Screen Game Menu items Timer: Time limit is set to 0.0
Score & no of darts hit is
initialized to 0 Status Bar Status bar is updated as soon as ‘New Game’ is clicked Pop up Messages
Score is updated Medium Level Screen Final Level Screen Final Score And Accuracy is displayed when the timer is over. Score Dialog Box Help Dialog Box Thank You