ARCHERY GAME USING C-PROGRAMMING


C is a powerful general purpose and most popular computer programming language. C is popularly known as the programmers language, since it was created, influenced and field tested by real working programmers.
 In 1970 a system engineer Mr. Dennis Ritche, invented and first implemented this programming language C. Besides its features like portability, fast execution it provides a feature called ‘C graphics‘. Using C graphics we wrote the game program. C is a high level language which supports graphics in it. Archery game tests our concentration power.
This is entirely written in c language. At first we have an arrow and bow. The series of circles will roll from top to bottom. With the help of the mouse pointer we have to hit the target.  The arrow hitting exactly at the center of the target. We get the score on the basis of hitting position. You will have five chances to hit the target.
Based on your performance the score of all the five times will be added up. The highest score will be 60 for one hit. Finally the score will be displayed at the end of the game. You will have two options either to continue or to quit the game.
‘C’ is a simple, elegant programming language that is the choice of a increasing number of programmers. ’C’ being a popular language , all the instructions are given using simple English like statements. This uses a compiler to convert these statements to binary. ’C’ programs are also portable and hence can run on any system.
Besides all these features ‘C’ also provides us with graphics commands which can be used to develop simple games. So taking help of these graphics commands we designed our game.
The ‘ARCHERY’ game is basically a memory game.’C’ provides modularity by dividing the program into number of function blocks. We have used 32 user defined functions for developing our game. Most of these user defined functions use graphic commands. The graphics commands that we used most frequently are settextstyle, setfillstyle, setcolor, rectangle, circle.
The advantage of this game over the other games is besides providing entertainment to the player it even helps them to improve to some extent their concentration.

VIDEO DESCRIPTION

SOURCE CODE, REPORT, PRESENTATION AND SYNOPSIS

Post a Comment

0 Comments