KONERU LAKSHMAIAH EDUCATION FOUNDATION
(Deemed to be University)
FRESHMAN ENGINEERING DEPARTMENT
A Project Based Lab Report
On
“GAME WINNER”
SUBMITTED BY:
I.D NUMBER NAME
2200040191 HARSHITHA CHELLURI
UNDER THE GUIDANCE OF
[Link] RAGHU PRAVEEN
Assistant professor
KL UNIVERSITY
Green fields, Vaddeswaram – 522 302
Guntur Dt., AP, India.
1|Page
DEPARTMENT OF BASIC ENGINEERING SCIENCES-1
CERTIFICATE
This is to certify that the project based laboratory report entitled “GAMEWINNER”
submitted by HARSHITHA Chelluri -2200040191 bearing to the Department of
Basic Engineering Sciences-1, KL University in partial fulfillment of the requirements
for the completion of a project based Laboratory in “COMPUTATIONAL THINKING FOR
STRUCTURED DESIGN”course in I B Tech I Semester, is a bonafide record of the work
carried out by him under my supervision during the academic year 2022 – 2023.
PROJECT SUPERVISOR HEAD OF THE DEPARTMENT
[Link] RAGHU PRAVEEN [Link]
2|Page
ACKNOWLEDGEMENTS
It is great pleasure for me to express my gratitude to our honorable President Sri.
Koneru Satyanarayana, for giving the opportunity and platform with facilities in
accomplishing the project based laboratory report.
I express the sincere gratitude to our principal Dr. A. Jagadeesh for his
administration towards our academic growth.
I express sincere gratitude to HOD-BES-1 Dr. D. Haritha for her leadership and constant
motivation provided in successful completion of our academic semester.
I record it as my privilege to deeply thank for providing us the efficient faculty and facilities
to make our ideas into reality.
I express my sincere thanks to our project supervisor [Link] Raghu Praveen for his
novel association of ideas, encouragement, appreciation and intellectual zeal which motivated
us to venture this project successfully.
Finally, it is pleased to acknowledge the indebtedness to all those who devoted
themselves directly or indirectly to make this project report success.
CH. HARSHITHA 2200040191
3|Page
ABSTRACT
This report focuses on the development of 2D top-down RPG Mobile and Desktop game,
Riko:The Adventurer. The Project is based on Retro pixel games containing 4 different
dungeons for the players to play. It has multiple achievable and separately upgradeable
weapons, player’s experience gaining system with 3 different player skins, computer
controlled intelligent enemies-both Melee and Ranged to challenge the player along with
simple NPC’s and other interesting objects like chests. Crates unlike the traditional Top-
Down RPG games where player attack with sword, this game rather has guns to attack just
like survival shooting games.
This project explores a new dimension to the traditional retro pixel RPG games by mixing the
features of survival shooting games where players shoots enemies to survive. With the
simplicity of this game it simply aims to bring fun and make you look back to your
childhood’s roguelike, Pokemon, Mario games with some new modern features.
4|Page
INDEX
[Link] TITLE PAGE NO
1 Introduction 6
2 Aim of the Project 7
2.1 Advantages & Disadvantages 7
2.2 Future Enhancement 10
3 Software Requirements 13
4 Algorithm 14
5 Flowchart 15
6 Implementation 16
7 Results and Screenshots 18
8 Conclusion 19
5|Page
1. INTRODUCTION
For this Car Racing Game, we designed and accomplished a video game imitating the
existing game showed as Figure 1 with a projective view. In this video game, the player
control one of the cars to compete with other opponent computer players. The major elements
of this game consists of accelerate, break, score, speed, rank and bump. The player uses
keyboard to control the car to turn left or right, to hit a break or accelerate while obtain over 5
golden coins. The theme of our game is to compete with the other opponents that are
controlled by computer in a racing tournament, the player’s goal is to get to the destination as
soon as possible while trying to avoid bumping to other cars or road object, which slows
down your speed, within a certain time limitation. The difficulty level of this game is
determined by the time limitation, golden coins probability, which refers to the chance you
can accelerate and get higher score.
This part shows the overall design of our software and hardware. This game consists of three
major modules. First part is the Game Logic Generator which calculate the logic of this
game, such as to detect bumps to obstacle, speed control based on keyboard input, opponents
control and road generation, and this module is based on software. The second part is the
Screen Rendering Module, we adopt the Sprite Graphics technique to decompose the display
screen into 7 layers, which will be explained in derails in later section. The last part is the
Audio Module which generate the proper sound under the control of game logic. The overall
design of the Rank Timer Score Label.
6|Page
2. AIM OF THE PROJECT
The winner of the card game popular in Berland "Berlogging" is determined according to the
following rules. If at the end of the game there is only one player with the maximum number
of points, he is the winner. The situation becomes more difficult if the number of such players
is more than one. During each round a player gains or loses a particular number of points. In
the course of the game the number of points is registered in the line "name score", where
name is a player's name, and score is the number of points gained in this round, which is an
integer number. If score is negative, this means that the player has lost in the round. So, if
two or more players have the maximum number of points (say, it equals to m) at the end of
the game, than wins the one of them who scored at least m points first. Initially each player
has 0 points. It's guaranteed that at the end of the game at least one player has a positive
number of points.
2.1 ADVANTAGES
Even though video games are demonized by most non-players, many scientists and
psychologists find that video games can have many benefits. Some of them are explained
below.
1. Improved Vision
Studies suggest that video game players may get an unexpected benefit from them; better
vision. They have been shown to increase players’ ability to distinguish subtle differences in
shades of gray.
They may also help players increase their ability to visually detect the direction of movement.
It was found that gamers spotted targets on a cluttered screen 80% of the time, while non-
gamers managed this only 30% of the time.
2. Brain Booster
Playing video games directly impacts regions of the brain responsible for memory, spatial
orientation, information organizations, and fine motor skills. As people age, the importance
of playing games tends to increase.
7|Page
It could improve decision-making skills; compared to non-players, gamers who spend time
daily with fast-paced games can react to questions or situations up to 25% faster.
3. Improved Life Skills
Video games involve taking risks, and the ability to strategize. It teaches patience,
perseverance, and the right judgment. It also helps people find new friends and social
connections. Besides, gamers become better at critical analysis and learn to concentrate on
tasks at hand to completion.
4. May Ease Anxiety and Depression
It has been found that people are more confident, energetic and emotionally positive when
they play video games, which is exactly the opposite of what depression brings about.
People who feel depressed lack physical energy, find it difficult to carry out daily tasks and
are generally pessimistic. Thus, playing can reduce the risks for depression, help with
arthritis, and even be a therapeutic option for aphasia.
5. Painkiller
According to a study from the American Pain Society, video games, and more specifically 3D
ones, could help reduce the brain’s response to physical pain.
Playing an attention-grabbing video game may distract one away from a painful activity and
help them with chronic pain conditions, especially children.
DISADVANTAGES
Video games can teach us high-level thinking skills, but too much of anything can be bad.
Some consequences of playing these games are listed below.
1. Addiction
Video games are designed to be addictive, so it is essential to have some self-control.
Especially people with poor impulse control or who have a hard time fitting in are most
vulnerable to game addiction. It could be because people tend to play games to fill the void
8|Page
that real-world problems leave behind. It is better to watch out for this form of addiction
because it might eventually end up costing you a lot.
2. Social Replacement
Video games often act as a replacement for real-time human connections. People who find
themselves playing hours upon hours of video games may find themselves losing touch with
the relationships they’ve built with other people.
People argue that with internet-connected games, they can easily hang out with friends and
families without ever leaving home, but this type of virtual get together is no replacement for
actual face-to-face interaction.
3. Obesity
New studies show that the risk of being overweight increases with every hour people spend
on virtual play. Lack of motion and overplaying lead to muscle pain as well. Moreover, the
addiction to these games leads to sleep deprivation which contributes to obesity.
4. Stress
Video game addiction could lead to other levels of psychological stress as well. Gamers may
suffer from low self-esteem, have social anxieties, or even suffer from depression.
Excessive gaming can also inspire feelings of guilt and shame. It is possible that uncontrolled
gaming could enhance the signs and symptoms of other mental disorders.
5. Could Limit Academic Process
Although video games can improve the strategic thinking decision-making process, they can
also deteriorate them.
Students who use their free time to play video games can struggle to keep up with
school/college. Most gamers have been seen to procrastinate on their studying, or they simply
ignore a deadline just to play their favorite game.
6. Violence
Often, children playing violent video games depict a lack of self-control and an increase in
emotional arousal. While violent video games could have different effects on different
people, they are all concerning. So, it is better to choose games you feel are appropriate for
both you and your children.
9|Page
2.2 FUTURE ENHANCEMENTS
Game development constantly changes. New game development trends emerge every year.
And technology advances, bringing opportunities for game development studios to innovate.
There’s so much for game development studios to consider if they want to produce their next
hit game. That’s why we recently surveyed hundreds of game development professionals to
get their take on the biggest challenges, trends, and opportunities facing the industry today.
In this blog, we share some of their insights on the future of game development and key game
development trends.
Top Game Development Trends in 2022
Game developers were asked a range of questions on their current work, future work, and
predictions for the industry. Here are the top four trends we saw across the board:
1. Game developers predict streaming will become the dominant platform by 2025.
2. Remote teams across time zones are the new normal.
3. Most game dev teams are doing at least some of their development in the cloud.
4. Creatives are a larger part of the game development process than ever before.
Cloud Streaming to See Rapid Growth By 2025
According to 40% of game creators, cloud streaming will be the largest growing platform by
2025. This isn’t a huge surprise, as of all the game platforms, streaming requires the least
amount of hardware. Streaming games on a mobile device, for example, is much more
accessible and transportable than a PC or game console.
Mobile was the second most popular answer at 24%, with game creators predicting an
increase in the creation of infrastructure around 5G to better support mobile and streaming
play.
Remote Teams Are Here to Stay
10 | P a g e
We have seen how COVID-19 has impacted the world and one of the most significant
outcomes may be the rise of remote work. More than half (54%) of game creators said they
have begun working remotely, with 15% forgoing office space altogether.
However, remote work, while beneficial for some workers, poses challenges to teams and
organizations. Because so many teams are scattered across time zones, there has been an
increased need for additional processes and tools to help with collaboration – something 38%
of game creators mentioned.
Another area affected by remote work is talent acquisition and retention. According to 43%
of game creators, it has been difficult to recruit talent. This could be because individual
contributors now have more options across the world, and/or because larger studios can out-
offer smaller teams in terms of wages and flexibility.
Whatever the case, respondents say remote work is here to stay – and teams will need to
overcome collaboration and hiring hurdles as quickly as possible to stay ahead of the game.
Shift to Cloud-Based Development
Using the cloud for development eliminates the need for costly hardware. And with remote
work booming, cloud-based development offers a way for teams to work together globally as
teams can upload and access files from anywhere. It’s no wonder then that 60% of game
creators said that they develop games on the cloud; an additional 18% say they use a hybrid
model of cloud and on-premise.
Of the game creators using the cloud, 29% use AWS, followed by 15% using Microsoft
Azure. If you are one of these respondents, be sure to check out these additional resources:
3. SYSTEM REQUIREMENTS
11 | P a g e
SOFTWARE REQUIREMENTS:
The major software requirements of the project are as follows:
Language : Turbo-C
Operating system:Windows Xp or later.
HARDWARE REQUIREMENTS:
The hardware requirements that map towards the software are as follows:
RAM : 6GB
Processor : Intel core i5
4. ALGORITHM
Step 1: start
12 | P a g e
Step 2: declare the arrays,matrix,variables.
Step 3: read a n,x value and array
Step 4.1: point[0]+=x;
Step 4.2: h[0]=point[0];
Step 4.3: res[0]=0;
Step 5: read the value of b.
Step 6: compare the strings a[j],b if they are equal break the loop.
Step 7: if I and u are equal copy a[u]string into b.
Step 8.1: point[j]+=x;
Step 8.2: h[i]=point[j];
Step 8.3: res[i]=j;
Step 9: sort the max value in the point array.
Step 10: print the name of the winner.
Step 11: stop.
5. FLOWCHART
13 | P a g e
Fig 1. Flow Chart
6. IMPLEMENTATION
#include <stdio.h>
14 | P a g e
#include <string.h>
char a[1002][34],b[34];
int point[1002],res[1002],h[1002];
int main(){
int n,x,i,j,u=1;
scanf("%d",&n);
scanf("%s%d",&a[0],&x);
point[0]+=x;
h[0]=point[0];
res[0]=0;
for(i=1;i<n;i++)
scanf("%s%d",&b,&x);
for(j=0;j<u;j++)
if(strcmp(a[j],b)==0)
break;
if(i == u)
strcpy(a[u],b);
u++;
point[j]+=x;
h[i]=point[j];
15 | P a g e
res[i]=j;
int max=point[0];
for(i=1;i<u;i++)
if(point[i]>max) max=point[i];
for(i=0;i<n;i++)
if(point[res[i]]==max && h[i] >= max)
break;
printf("%s",a[res[i]]);
7. RESULTS AND SCREENSHOTS
OUTPUTS
16 | P a g e
Screen Shots:
Fig 2. Output
8. CONCLUSION
Thinking of the game as a part of a bigger educational process is really in the
core mind-set that this project wants to promote. Games can do many things very
17 | P a g e
well, but they certainly cannot do everything at once. Especially not without
solid supporting structures around them. Throughout the project and the case
studies we built this was true. As each teacher build her or his story these
processes were discussed and reflected upon and we will be referring to these
and link back to them.
This project aimed as much at using alternative and innovative methods to teach
through coding digital games and playing games as part of learning, as at
developing the skills of teachers in extending academic goals to understand,
support and include the whole child: not only their academic subject skills but
also social, emotional and behavioural skills.
18 | P a g e