You are on page 1of 16

Dino Game

B.Tech F.Y.
Division : C Batch : B2
37. (12111017) Sanket Bhosle
38. (12111413) Anurag Bhujbal
39. (12111394) Prathamesh Bhujbal
40. (12111085) Kshitij Bhure
41. (12110042) Dhananjay Bile
42. (12110600) Ayush Billade

Problem Solving and Programming Course Project


Department of Engineering, Sciences and Humanities (DESH)
Vishwakarma Institute of Technology, Pune
A.Y.(2021-2022) Term I
OUTLINE
• INTRODUCTION
• PROBLEM STATEMENT
• OBJECTIVES
• BACKGROUND
• IMPLEMENTATION
• RESULTS AND DISCUSSION
• CONCLUSION AND FUTURE
SCOPE
• REFERENCES
2
INTRODUCTION
• Based on the popular game(T-rex runner) on Google
Chrome browser which appears when offline.
• Game contains a dinosaur figure and obstacle
figures, Player has to jump and stay clear of the
obstacles.
• Dinosaur runs and player can only jump, score
increases with each obstacle cleared.
• Game is developed in C language, In future we can
add animations , graphics, sound effects .

3
PROBLEM STATEMENT
• To develop a game with basic knowledge
and software limitation.

4
OBJECTIVES
OBJECTIVES
• To develop a light weight and fast operating
game.

5
BACKGROUND
• The prerequisite for the project was to obtain a special ASCII
value to print the design of the game.
• We wanted to create a small sized, quick and popular game in
an easy way.
• We had to find the function to run the program/game in the
console and not in terminal.
• We distributed various functions among the group and
discussed all the complications early hand.

6
IMPLEMENTATION
• Category of the project
– Gaming application
• Tools / Platform
- Code blocks
• Front end-Backend Software Requirement
- C programming

7
IMPLEMENTATION (CONT.)
• Modules / Features
- Easy to run
- Small size of game
- Compatible with almost every device

8
IMPLEMENTATION (CONT.)
– System Architecture
Using libraries Designing body of Designing obstacle
In C programming dinosaur

Implementation Make Use of using of ascii value in


In function functions in coding the code

use of nested loops Use of clock() and -


delay () functions

Figure 1(system architecture)

9
IMPLEMENTATION (CONT.)
– Overall Algorithm
• Step 1 : Start
• Step 2 : Display the layout and start the dino game.
• Step 3 : If user doesn’t press spacebar on time, then goto Step 8 else dinosaur jumps.
• Step 4 : If the dinosaur touches the obstacle while jumping, goto Step 8 else dinosaur
jumps in the air successfully.
• Step 5 : If the dinosaur touches the obstacle while landing, goto Step 8 else dinosaur
lands successfully.
• Step 6 : Add 1 to score
• Step 7 : goto Step 3
• Step 8 : Display “Game Over” and reset score to ‘0’
• Step 9 : Stop

10
IMPLEMENTATION (CONT.)
– Overall Flowchart

Figure 2(Flow chart) 11


RESULTS AND DISCUSSION

Figure 3(design error) Figure 4 (proper working)

12
CONCLUSION AND FUTURE SCOPE
• CONCLUSION
– The Dino Game is a single-player game where users
objective is to avoid getting hit form incoming obstacle.
– Only two buttons are used in the game; “x key” to exit
the game and “space bar” to jump over obstacle.

• FUTURE SCOPE
– More obstacles
– Sound effect of dinosaur running

13
Contribution
• Div C Batch B2
• Roll No 37-GRNO- 12111017 –Sanket Bhosle
– Design and Coding
• Roll No 38-GRNo-12111413-Anurag Bhujbal
– Design and Coding
• Roll No 39-GRNo-12111394-Prathamesh Bhujbal
– Design and Coding
• Roll No 40-GRNo-12111085-Kshitij Bhure
– Design and Coding
• Roll No 41-GRNo-12110042-Dhananjay Bile
- Design and Coding
• Roll No 41-GRNo-12110600-Ayush Billade
– Design and Coding 14
REFERENCES
1. Simran Kumar, 18 May, 2021, How to use gotoxy() in codeblocks , accessed
10 march 2022,<https://www.geeksforgeeks.org/how-to-use-gotoxy-in-
codeblocks/#:~:text=The%20gotoxy()%20function%20places,wherever%20the
%20cursor%20is%20moved.>

2. Ritik Bansal, 28 September 2018, clock() function in C/C++,accessed 10 March


2022,<https://www.geeksforgeeks.org/clock-function-in-c-c/>

15
Thank You

16

You might also like