Final Year Project Report BIT

Download as pdf or txt
Download as pdf or txt
You are on page 1of 102

School of Computing & Digital Media

Final Report on:

Clash and Battle Game

Student Name: Sanam Katuwal([email protected])


Student ID: 18029077
Course: BSc (Hons) Computing
First supervisor: Mrs. Pratibha Gurung
Second supervisor: Mr. Abhinav Dahal

18th July 2021


Abstract

This is report for final year project explaining in detail about the
features, process of project formation, and working mechanism of the
project. As final year project a game development project called “Clash
and battle game” is selected. It is a battle game laid out between two
teams, where the player team is led by a leader which is
played/controlled by the player/user. This project is put to development
so that new ways of designing is explored, and gaming is explored. An
ideal game is the main trait behind developing this project. A simple 2D
game with simple and ordinary features is formulated. This project is
prepared with research into similar and unsimilar games to learn the
ideas and process of game development. The game shares a new idea
of combining combat and battle together. It features AI for the parts
where player don’t have to control.
Acknowledgement

In finishing this report and project I am thankful to my first and


second supervisor who guided me on the project features and helped for
easiness. Because of this project I now have courage to do projects on
my own and be able to determine what kind of project to work on. Without
the help of my supervisors, I would not have realized my potential on
working with vast project as mine. I would also like to thank my friends
who reviewed my project and gave some comments, feedbacks and
suggestions, which unlocked many new ideas which have been
implemented into the project.
Table of Contents
1 Introduction .................................................................................................................... 1
1.1 Introduction ............................................................................................................ 1
1.2 Current Scenario................................................................................................... 2
1.2.1 Global Perspective ....................................................................................... 2
1.2.2 Nepal Perspective......................................................................................... 3
1.3 Problem Statement ............................................................................................... 3
1.4 Project as solution ............................................................................................... 3
1.5 Aims and Objectives ............................................................................................ 4
1.6 Structure of the Report ....................................................................................... 5
2 Background .................................................................................................................... 7
2.1 Background History of game development and gaming ........................... 7
2.2 Project elaboration ............................................................................................. 10
2.3 Review on similar Projects .............................................................................. 11
b. COC (Clash of Clans) ......................................................................................... 11
c. The last survivors ............................................................................................... 14
d. Stickman supreme fight shadow warriors ................................................... 17
e. Shadow fight 2..................................................................................................... 18
f. Taken two ............................................................................................................. 19
2.4 Comparison with similar Projects .................................................................. 20
3 Development ................................................................................................................ 21
3.1 Introduction to methodology ........................................................................... 21
3.2 Different Methodologies ................................................................................... 21
3.2.1 Waterfall Methodology .............................................................................. 21
3.2.2 Incremental Methodology ......................................................................... 23
3.3 Selected Methodology....................................................................................... 25
3.4 Resource requirements .................................................................................... 27
4 Implementation............................................................................................................ 29
5 Design............................................................................................................................ 43
5.1 Use Case ............................................................................................................... 43
5.2 State Diagram ...................................................................................................... 45
5.3 Flowchart .............................................................................................................. 47
5.4 Algorithm .............................................................................................................. 49
5.5 Wireframes ........................................................................................................... 51
6 Testing ........................................................................................................................... 57
6.1 Testing Overview: Black box Testing ........................................................... 57
6.2 Game build testing ............................................................................................. 57
6.3 Game scene transition testing ........................................................................ 61
6.4 Game play and animation testing .................................................................. 66
6.5 Game win/lose status testing .......................................................................... 69
6.6 Gifts claim and buy testing .............................................................................. 72
6.7 Tasks and achievements work testing ......................................................... 75
6.8 Troop detail and upgrade testing ................................................................... 78
6.9 Settings testing ................................................................................................... 81
7 Analysis......................................................................................................................... 85
7.1 SWOT Analysis ................................................................................................... 85
7.2 Sustainability ....................................................................................................... 87
8 Limitation ...................................................................................................................... 88
9 Conclusion ................................................................................................................... 89
9.1 Conclusion and Experience ............................................................................. 89
References ........................................................................................................................... 91
Appendix ............................................................................................................................... 92
Table of Figure
Figure 1: A COC game's village ..................................................................... 12
Figure 2: Builder hall Village in COC.............................................................. 13
Figure 3: The last survivors opening scene ................................................... 14
Figure 4: A level in “The last survivors” game ................................................ 15
Figure 5: Levels in "The last survivors" .......................................................... 16
Figure 6: Stickman supreme fight shadow warriors screenshot ..................... 17
Figure 7: Shadow fight 2 game screenshot .................................................... 18
Figure 8: Taken two game screenshot ........................................................... 19
Figure 9: Waterfall Methodology Steps .......................................................... 22
Figure 10: Incremental Methodology Process ................................................ 23
Figure 11: Work breakdown structure ............................................................ 41
Figure 12: Use case diagram for "Clash and Battle game" ............................ 43
Figure 13: State diagram for tools on Main Menu .......................................... 45
Figure 14: State diagram for game ................................................................ 46
Figure 15: Flowchart of player’s main character functioning .......................... 47
Figure 16: Flowchart for AI working ............................................................... 48
Figure 17: Home Page Form ......................................................................... 51
Figure 18: Help form ...................................................................................... 52
Figure 19: Treasure Page .............................................................................. 52
Figure 20: Troops Page ................................................................................. 53
Figure 21: Settings Page ............................................................................... 54
Figure 22: Challenges Page .......................................................................... 55
Figure 23: Game Field ................................................................................... 55
Figure 24: Selecting a folder to save game file .............................................. 58
Figure 25: Game build processing ................................................................. 58
Figure 26: Game built .................................................................................... 59
Figure 27: Built game file saved ..................................................................... 59
Figure 28: Game launched ............................................................................ 60
Figure 29: Game starting ............................................................................... 61
Figure 30: Main menu launch on pressing any key ........................................ 62
Figure 31: Help scene loaded ........................................................................ 62
Figure 32: Treasure and gifts scene .............................................................. 63
Figure 33: Tasks and achievements scene .................................................... 63
Figure 34: Troops upgrade scene .................................................................. 64
Figure 35: Settings scene .............................................................................. 64
Figure 36:Day time game mode scene .......................................................... 65
Figure 37: Clicking play to play a level ........................................................... 66
Figure 38: A Game level ................................................................................ 67
Figure 39: Main character on move and troops getting damage .................... 67
Figure 40: Troop dying animation and count adjusted ................................... 68
Figure 41: Game on process ......................................................................... 69
Figure 42: Player wins the match ................................................................... 70
Figure 43: Match process to player losing ..................................................... 70
Figure 44: Player lost the match .................................................................... 71
Figure 45: Claim daily gift hover..................................................................... 72
Figure 46: Daily gift claimed ........................................................................... 73
Figure 47: Buy diamond hover ....................................................................... 73
Figure 48: Diamonds bought .......................................................................... 74
Figure 49: A game won .................................................................................. 75
Figure 50: Win status updated on tasks completion....................................... 76
Figure 51: A task completed to claim reward ................................................. 76
Figure 52: Reward claimed ............................................................................ 77
Figure 53: Troops details scene ..................................................................... 78
Figure 54: Leader details ............................................................................... 79
Figure 55: Leader upgrade details ................................................................. 79
Figure 56: Leader upgraded .......................................................................... 80
Figure 57: Leader details after upgrade ......................................................... 80
Figure 58: Restart game hover ...................................................................... 81
Figure 59: Game restarted ............................................................................. 82
Figure 60: All progress cleared and set to initial data of game. ..................... 82
Figure 61: Sound and music turned off .......................................................... 83
Figure 62: Sounds and music turned on ........................................................ 83
Figure 63: Quit application clicked ................................................................. 84
Figure 64: Game quit ..................................................................................... 84
Figure 65: Work Breakdown Structure ........................................................... 92
Figure 66: Previous Gannt Chart ................................................................... 93
Figure 67: New Gannt Chart .......................................................................... 94
Table of Tables
Table 1: Comparison with similar application ................................................. 20
Table 2: Milestone listing ............................................................................... 42
Table 3: Test table for game building ............................................................. 57
Table 4: Test table for scene transition .......................................................... 61
Table 5: Test table for game play and animation ........................................... 66
Table 6: Test table for win/lose status show .................................................. 69
Table 7: Test table for gifts claim and buy diamonds ..................................... 72
Table 8: Test table for tasks and achievements scene .................................. 75
Table 9: Test table for troops info view and upgrade ..................................... 78
Table 10: Test table for settings scene .......................................................... 81
Table 11: Milestone listing ............................................................................. 93
CS6P05NP Final Year Project

1 Introduction
1.1 Introduction
Entertainment is a part of our daily life. Everyone in the world joins for
little bit of entertaining activities. It may be movies, outdoor and indoor
games and more. Gaming is also an entertainment. In today’s world, gaming
has evolved to such extent that it has become a career for lots of individuals,
from game developer, designer, to the user itself. Gaming has its own
benefits and detriments in everyone’s life depending upon how they use it.
Despite some claiming games to be violent, people around the whole world
think gaming is emotionally refreshing and their opinions suggest that
gaming isn’t bad and not at all violent. (Anderton, 2018)

Many individuals stream online entertaining themselves and other


people showing their arts and monetizing the stream. Kids, adults to old
people, everyone watches and plays games during their free time. There
are many games out there where gamers explore different worlds, stories,
and its facilities. Some games are educational, some are for fun, and some
of them allows to gamers to be creative and make them learn how to think.
(Verma, 2020)

In this project, a game is put in plan as a title “Clash and Battle Game”.
It is expected to be a fun game and educational for developer personally.
The game is simple where two clans or two sides fight with each other till
last group standing. Generally, the user will be controlling leader who has
awesome moves and can destroy a common troop within few moves. At the
end of the fight whichever has last troop or destroyed every troop of the
opponent wins. The game will allow user to upgrade level of their troop
which would be by using coins or diamonds. The upgrade in troop will
increase in health and power points and new moves as well.

The user will be controlling the leader in the game while other team
troops and enemy troops will be acting as an AI. According to level of game,
the user will be getting some troops in their team and enemies. The main
task of the user is to lead the team to victory with the help of leader who has
exceptional moves.

Sanam Katuwal 1
CS6P05NP Final Year Project

During the battle, user needs to use their strategy by appropriately using
moves of the leader. The game provides an information in help section
about the moves they can access using keys and their combination. The
user will be given certain time to finish the game and if the opponent is not
all destroyed then the player team will lose.

1.2 Current Scenario


1.2.1 Global Perspective
People around the globe enjoy playing games of different genres
depending upon their sense of choice. Gaming is so addictive to some
people damaging their daily living and careers yet for some people it has
shown some aspect in career. There used to be less people developing
games and a lot enjoying it and now gaming has touched everyone’s lives
in a unique way, some enjoy developing it and most enjoy playing it making
a career as well.

Nowadays, gamers practice so much so that they can stream live on any
medias, enjoy playing it and entertain the viewers. Any games have their
own crowd of fans who love to play, that’s what’s keeping game developer
to continue developing new game of different to unique ideas and make it
available for anyone from anywhere around the world to use it. People take
out a lot of money from their hard-earned income to buy PlayStation or any
other devices that supports to play game because of its relief and more of
their own reason.

Video gaming has proved to be addicting around the world. Over 2.5
billion people play and enjoy games and no doubt the popularity of games
will follow with increasing number of people joining to play more games over
time. Gaming is so much enjoyed that the revenue of gaming industry is
expected to reach $180.1 billion. With this rate of people buying and playing
video games and increasing the hype of gaming industry it is expected the
global gaming market will reach a value of $295.63 billion by 2026. (Yanev,
2021)

Sanam Katuwal 2
CS6P05NP Final Year Project

1.2.2 Nepal Perspective


Just as people around the globe enjoy playing game, it is also widely
popular in Nepal. Before time, any person would hesitate to indulge in
playing games simply because life itself was unhandled, not that it is easy
to handle life people nowadays play game to relieve stresses of daily life.
Anyone in any part of Nepal has played game on their mobile or computer
devices. In fact, just because of gaming, people are starting to learn how
devices work and what kind of device is needed for what kind of games.
Gaming also has affected everyone’s life uniquely.

Even in context of Nepal, there are some game streamers who enjoy
playing it and entertain others while earning from the streams. Games are
played by almost every aged people. Even the child who barely can speak
enjoys tapping the game on the devices just to enjoy a little time out of their
life. Many younglings connect with their friends via game playing. Each year,
some new ground-breaking game is released just to take over the country
in 2 – 3 years. In Nepal as well people enjoy time playing games on their
devices and determine device to buy according to the requirement of
applications and mostly it is game application.

1.3 Problem Statement


A classic and simple battle game is more enjoyable than any other
games. However, a battle game is only good if there are certain moves that
can be asserted by game character time to time. The project aims for a
game that shows an aggressive battle such that the game character can
open the potential to win through different moves.

1.4 Project as solution


A complex design for the game seems impractical for the project in
respect to the developer and designer of the project. So, a simple design
with beautiful representation of imaginary and realistic world with some
reasonable characters to perform in that world will be developed. There
would be battles between two teams but no unnecessary inclusion of

Sanam Katuwal 3
CS6P05NP Final Year Project

overpowered characters for battles as the main aim of developing this


project is to not make it dull with exceptionally easy strategy that can be
used to achieve rewards and upgrade the level of the troops.

1.5 Aims and Objectives


The aim of this project is to develop a gaming application. User will use
its team and the leader to fight another team and develop their team strong
by earning points, coins and by rewards from completing task from
challenges. User can attack with the moves provided for the leader of the
game. This project aims to keep user interested in earning coins, diamonds
and power card for leaders or other characters to help improve the team’s
fight and upgrade the level of troop. The game will be understood by any
user. Also, the main aim is to make it as interactive as possible by attracting
the focus of user to learn more about the interesting features and characters
of the game.
The objectives of the projects are:
i. To make user interactive by letting them take part in the game.
ii. To eliminate dullness in gaming.
iii. To explore new gaming design.
iv. To let user, learn different strategies to attack.
v. To maintain the focus of user on winning the game.
vi. To increase troops level.
vii. To research and learn from other similar kind of project and
develop interesting ideas to implement them unto this project.
viii. To create an AI enemy and team troops.
ix. To learn how to code, design and make it interactive.

Sanam Katuwal 4
CS6P05NP Final Year Project

1.6 Structure of the Report


Report is divided into 9 chapters which are as below:

i. Introduction
Chapter one introduces the project in detail. A brief section on the use
of the game application in perspective to globe and Nepal, problem
statement, project as solution and aims and objective of the project.

ii. Background
Chapter two contains the background and history of game development
from when it began to how it has changed, an elaboration of the project,
reviews, and comparison with similar application.

iii. Development
Chapter three contains a detail on methodologies, methodologies
suitable for the project and methodology to be implemented on the project.
A list and description on the applications to be used to develop the project.

iv. Implementation
This chapter shows how the project was implemented and how many
and what increments were made.

v. Design
This chapter shows use case diagram, flowchart, algorithm, and
wireframes of the game describing the features, working of the game and
UIs of the major features.

vi. Testing
This chapter shows testing of the project developed in showing
conclusions for successful and unsuccessful attempts on features on the
application

vii. Analysis
This chapter gives a SWOT analysis on the project and sustainability
view on the project.

viii. Limitation
This chapter concludes limitation of the project in points.

Sanam Katuwal 5
CS6P05NP Final Year Project

ix. Conclusion
It concludes the overall documentation and the project.

Sanam Katuwal 6
CS6P05NP Final Year Project

2 Background
2.1 Background History of game development and gaming
During 40s and 1950s computers were available but were so huge that
it covered a whole room. Computers did allow to play games, but it wasn’t
properly designed. In 1960s some of the MIT students decided to design a
ground-breaking game using the resources of their college, called
“Spacewar” which was only used among other universities which had
access to computer. At that time computer wasn’t worldwide since it was
expensive for an individual. In 1966 in America many people had bought
television for entertainment purposes which allowed Engineer Ralph Baer
to test, explore, and come up with an idea for game development. He
created several video games to test in television. In 1967, Baer and his
colleagues were successful to develop and release a game called “Brown
Box” which was licensed to Magnavox Odyssey. Rapidly many games
started to launch, a game called “Computer Space” was released in 1971
proving to flop because of difficulty to understand. In June 1972 a game
called “Pong” was released by Atari inc. which was an arcade ping pong
game and it also face severe problems. Then in 1975, Atari partnered with
Sears, Roebuck & Company to produce a home version of Pong. In early
1980s, Coleco, a toy company became famous for their game “Cabbage
Patch Doll”. During 1980s, several inferior games were starting to hit the
market. Then after a while every individual were able to afford computers
and it was age of the home computers. Many earlier developed gaming
companies started to dissolve because of the crash in game market. It had
seemed like end of the era of home video games. (Smithsonian, 2021)

With personal computers for every individual Bill Gates had also
developed DONKEY.BAS which encouraged game developers to develop
game with BASIC code on their own. On January 1, 1983, internet was
officially created which gave an opportunity to developers to develop online
games (Rivenes, 2017). Suddenly, on July 15, 1983, a Japanese company
called “Nintendo” released an 8-bit third-generation home video game
console called Nintendo Entertainment system which proved a commercial

Sanam Katuwal 7
CS6P05NP Final Year Project

success. And after then the era of gaming was restored. (Smithsonian,
2021)

In 1984, BITNET developed a game, MAD, which connects players


world-wide to a single server. With multi-user game idea a whole new of
gaming world started. In growing gaming world, came use of Internet
Protocol (TCP/IP) which was first used by SGI Dogfight in 1986. By the time
1989, graphics capabilities were achieved for workstation computers and
with development of IP Multicast gaming across the internet was seen
possible. In 1993, LAN party started where many people gathered to play
multiplayer game across LAN connection. (Rivenes, 2017)

In 1994, first-person shooter game, Marathon, was released which was


installed in Macintosh. First pay-to-play service with game, Avalon MUD,
also started over the internet during that time. That year was the year of
RPG games. One of the famous RPG video games, Warcraft, was created
by Blizzard Entertainment during this time. Warcraft is franchise of video
games and novels. In 1996, Kingdom of the Winds and Quake games were
released with expansion of RPG and first-person shooter category. The first
multiplayer first-person shooter game to be released was the game
“Quake”. (Rivenes, 2017)

The beginning of 2000s started with releases of gaming consoles with


internet connection built in. Xbox also started in 2002 and with its popularity
online multiplayer gaming increased worldwide. Wi-Fi was introduced in
1997 but its use for gaming started in 2006 with Nintendo Wii released with
Wi-Fi capability for inline multiplayer gaming. By the time 2007 mobile
phones were popularized and the game development for mobile started.
(Rivenes, 2017)

The trend for game development started after the release of game
engine called Unity in 2005. At first Unity allowed to make games for
MacOS but with time it expanded for more platforms allowing more game
developers to develop games of their own. Anyone who wanted develop
game with Unity with access to computer were able to develop game for

Sanam Katuwal 8
CS6P05NP Final Year Project

themselves. Now there are more individually made games than company
games. (Beck, 2019)

Slowly, game development met advancement, which has now become


a part of everyone’s life. Game development these days has given career
to many developers. Not only developers are benefitted from it, the users,
or gamers too. For some gamers, gaming is the main source of income.
There are many game streamers because of Twitch and YouTube. There
are many people trying to make career on playing and streaming game by
showing their unique tactics and working on teams. With free games,
interestingly there are many people playing games whole day and night.
With gamers streaming online, it has allowed an idea to developers for
streaming studio. (Beck, 2019)

Now that the gaming industry has grown so much, creative contents are
starting to push and trend for new games is overthrowing other games one
after another. Competition between streamers and gamers has started.
The new gaming era for virtual reality is about to begin. Many games have
already started with virtual reality, it is popular but still not word wide. With
technology getting cheaper and more available the gaming world will take
off to a whole new era.

Sanam Katuwal 9
CS6P05NP Final Year Project

2.2 Project elaboration


The project is development of an action combat and battle game. The
game features a proper interactive GUI for player. Player will be given
various level to play serially after one level is won. According to the level is
determined how many troops will the player have in his team and how many
enemies will he have.

The player will be given a leader who has exceptional moves and higher
damages on enemies that can be controlled by the player themselves with
press on certain keys on the keyboard. To determine keys for the respective
moves a help section is given. The main feature in the project is that the
leader will have different moves plus power moves which can be only used
if the player has collected enough power cards to use their power moves
anytime, they want and according to the number of power cards is
determined the limit use of power moves.

To build and upgrade troops they use, the player needs to collect enough
coins or diamonds for the respective troops. There is a gifts and treasure
section where user can open earned gifts and even buy power cards for the
game. Player will be notified with the details of troop like health and damage
points. The game consists of AI for enemy and team troops of the player
except the leader which is to be controlled by the player themselves. The AI
just detects when to walk, run and attack the opponent.

The main objective of the player controlling the leader should be to check
the strength of the leader and health and use different moves tactically and
use the power moves in appropriate time so that the player won’t feel difficult
to achieve victory. The main obstacle for the player won’t be the enemy but
the strength of the character controlled by them.

Sanam Katuwal 10
CS6P05NP Final Year Project

2.3 Review on similar Projects


b. COC (Clash of Clans)
A similar game I have researched is Clash of clans. I have collected
some ideas from the research, where some are the exact idea, and some
are defying. This game is a village building game with mines, defences,
training camp, wall protection, traps, barracks and more. At first a player
is log on to the game using his account. The player basically starts from
level one of town hall to upgrading it unlocking new troops, more troop
capacity, and barracks to train troops.

To build the village they have mines from which they can collect golds
which is stored in a storage, and they can also build a team and attack
another village and loot from their resources. What I don’t like is, there
is no battle between troops, only the attacking team has troops, and the
opponent team only defends by laying out traps and the battle is for a
limited time. This is an online game where the attacking team must
attack an opponent’s village which is built by another online player. As
for building defences, army camp, barracks, storages, traps, etc. the
player must acquire a builder otherwise there is no upgrading. Upgrade
takes time to build which is an interesting part of this game. After
upgrade of respective things, the capacity of that thing increases
according to their task. The more builder the gamer acquires the more
capacity to build at a time.

Sanam Katuwal 11
CS6P05NP Final Year Project

Figure 1: A COC game's village

Another feature for this game is developing of clans. Clans are


formed and position in a clan are given leader which is senior to co-
leader, senior to elder, senior to members. For a clan there is only one
leader and as many as the leader can make are co-leaders, elder and
members. A senior member of clan can promote, demote, or kick a junior
member if required. There is a limit in how much members a clan can
hold. With a member being in the clan he can donate and ask to donate
troops and spells. The donation is a huge advantage to the member with
lower town hall and lower-level troops. New troops can be donated to
the lower town hall level member who has not even unlocked the same
troop.

Higher town level unlocks spells which are also advantageous to


troops on attacking opponent. Some spells are healing, rage, haste,
freezing, poison, etc. They can also be upgraded with troops in
laboratory. New capacity for troops and spells is developed in laboratory.

By collecting towns, a clan wars can also be searched by a leader or


co-leaders. There is a limit in how many towns can attend to clan wars.
If a clan finds an opponent clan to clash with then a day is given to attack
on any of the opponent town based on the clan discussion on how to
Sanam Katuwal 12
CS6P05NP Final Year Project

achieve victory. The victory follows more achievements in treasury and


increase in clan level points so to upgrade clan level.

Global chat to clan chat is also allowed in this game. Other extra
features are daily challenges. There is also another village that can be
accessed by the user whose main part is builder hall. The builder hall
village is also same as the town hall village, but builder hall attack
rewards a huge treasure after certain amount of victory attacks. Special
development can also be done using builder from builder hall in town hall
village, like a cannon of town hall village can be upgraded to double
cannon and more.

Figure 2: Builder hall Village in COC

Sanam Katuwal 13
CS6P05NP Final Year Project

c. The last survivors


Another game I have researched into is a simple game called “The
last survivors”. This game can be played on website with no download.
This game is a multiplayer game. To launch the game an access to net
is required and then after launching the game there will be no need of
net. Basically, this game’s story is that two players must monitor on the
device one each and then battle their way through the city of zombies.

Figure 3: The last survivors opening scene

To win the game, both the players need to cooperate and live till they
both get through the level. The game will be announced if any one player
is killed either by zombie attach or on any traps.

Sanam Katuwal 14
CS6P05NP Final Year Project

Figure 4: A level in “The last survivors” game

Both the player needs to discuss and use their mind to overcome the
obstacles. One player is supposed to be a little girl who is capable to
jump higher and can throw stones another player is supposed to be a
grown man who jumps lower and is able to use sword. With the access
of unique abilities of both the character, each character may need to do
their part for some obstacles.

Sanam Katuwal 15
CS6P05NP Final Year Project

Figure 5: Levels in "The last survivors"

To play a level previous level must be played and won. The main
point of the game is to overcome the levels and to collect cogs which will
be required to unlock bonus level.

This game is a simple and classic design. What I like in this game is
that there are different characters with their own unique abilities
benefitting other characters only if teamwork is done. But the thing I
would have liked to see in this game would be character upgrading and
more difficult levels, in that way it would be more interesting to play this
game. This game has shown a prefect design of game but lacks features
that would support as an interesting game.

Sanam Katuwal 16
CS6P05NP Final Year Project

d. Stickman supreme fight shadow warriors


Another game I have researched into is a game called “Stickman
supreme fight shadow warriors”. This game is also a combat like game
where two player fight with randomly given weapons. The player needs
to throw the opponent out of the game field and into the river to win the
game.

Figure 6: Stickman supreme fight shadow warriors screenshot

In this game, player need to focus on how to not get thrown into river
and try pushing or attacking opponent as to throw into the river and an
alternate way to win is by attacking the opponent and dropping their
health to zero.

The boring part in the game is that player needs to control the
character with a joystick like given button. I also don’t like that the game
has no levels and a random weapon for the main character and a
random opponent is given. The game also features gold earning but it
seems useless because the gold is only used to buy clothes and other
accessories for the main character.

Sanam Katuwal 17
CS6P05NP Final Year Project

e. Shadow fight 2
Another game I have researched into is a game called “Shadow fight
2”. This game is a combat game where two players fight for their
exceptional and unique moves to win over the other. This game is played
one by the player and an opponent is played by the game AI. A combat
is of total 3 rounds where to win a player must win two rounds out of 3.

Figure 7: Shadow fight 2 game screenshot

The main feature of the game is that player earn coins after winning
a battle and with that coin they will be able to buy weapons for further
levels. Higher the level advanced will be the opponent. The player will
be starting from level 1 to furthermore and he/she will not be able to
neither play previous levels nor skip to next level and must play currently
given level and only after the playing level is won then next level is given.
The player will have to buy new powerful weapons to win the upcoming
powerful opponents.

This game has a likely feature as mine which is that the main
character consists of moves which can be accessed by combination of
buttons on screen. What I liked the most about this game is inaccessible
of upcoming levels and previous level to play from which player could
earn more money and buy weapons. As a combat game I like it.

Sanam Katuwal 18
CS6P05NP Final Year Project

f. Taken two
Another game I have researched into is a game called “Taken two”.
This is also a combat game where two characters fight each other with
their moves to win the game. A character must win 2 out of 3 games to
win over their opponent. The player must win a character to play with the
next character.

Figure 8: Taken two game screenshot

This game has no levels in particular, the player must play and win
from start to the end to complete the game, where starting means play
with one character and next and next until the end is the last powerful
character. The player can access exceptional moves from pressing of
set of buttons. To win the game player need to show their skill with
different moves and defend properly.

The unlikeable feature of this game is that the player needs to


continuously win all character to win the game and play again from start
after winning all the game and after losing in between as well.

Sanam Katuwal 19
CS6P05NP Final Year Project

2.4 Comparison with similar Projects

Topic Clash The last Stickman Shadow Taken “Clash


of Survivors supreme fight 2 two and
Clans fight Battle
shadow game”
warriors (My
game)
1. Requires Yes No, it only No No No No
internet to run requires
game net to
launch the
game.
2. A multi- Yes Yes No No No No
player game
3. A battle Yes No No No No Yes
game
4. A combat No No Yes Yes Yes Yes
game
5. A strategy Yes Yes No No No No
planning
game
6. Has troops Yes No Yes Only No Yes
or character weapon
upgrade is
upgraded
7. Tasks and Yes No No No No Yes
achievements
8. Moves is No No No Yes Yes Yes
main feature
Table 1: Comparison with similar application

Sanam Katuwal 20
CS6P05NP Final Year Project

3 Development
3.1 Introduction to methodology
Developing a project without plan is risky in terms of finance. Every
popular project or software’s worldwide are planned and were implemented
according to the plan. Because there are variety of things to be considered
during development of a project a company or software team or project team
must select a method on how to analyse, plan and build the project. Without
a proper selection of method, a project faces various problem that may be
out of hand and hence causing the disruption of the project.

So, to build a project systematically there are various methodology for


developing a project. Each methodology has its own requirements,
advantages, and disadvantages. So, we must be careful while choosing a
methodology otherwise havoc on project will follow.

3.2 Different Methodologies


For this project I explored two methodologies would be suitable,
Waterfall and Incremental. Waterfall methodology is widely used for large
project development and its process is serial wise which could be accepted
for this project. Incremental methodology is also like waterfall methodology
except with this methodology we can bring changes or add new features on
time.

3.2.1 Waterfall Methodology


Waterfall methodology is to be considered only if all the requirements
are provided. This methodology is commonly used among various project
development. The title of the methodology itself says the process of
development, a waterfall process which means that there are steps which
are taken serially and there is no going back to any steps, it suggests to
only continue further. It is an easy step by step methodology with its own
advantages and sometimes it also follows with huge disadvantages.
(Pressman & Maxim, 2015)

Sanam Katuwal 21
CS6P05NP Final Year Project

The main step of a waterfall methodology is shown in following diagram:

Figure 9: Waterfall Methodology Steps

Source: Software Engineering A Practitioner’s Approach


by Roger S. Pressman and Bruce R. Maxim

The advantages of this methodology are as follows:

i. Planning is easier after the stating of all the requirements for the
project.
ii. The project budgets and resources are estimated accurately
because of the perfect project scheduling.
iii. Deadlines can be estimated accurately.
iv. The development progress can be tracked because of simple
following of steps required. (Manager, 2020)

The disadvantages of this methodology are as follows:

i. Sometimes every requirement may not be stated at the beginning


which may be a tension for the developers.
ii. In case of changing of requirements, this can result project to be
waste of time or time consuming.
iii. It is not flexible for adapting unexpected conditions because of
sequential steps.
iv. It is not suited for complex and large projects. (Manager, 2020)

The reason why this methodology is considered for this project is


because this project is a small project, and it would be easier to develop this
project sequentially as this methodology proposes.

Sanam Katuwal 22
CS6P05NP Final Year Project

3.2.2 Incremental Methodology


Incremental methodology is only considered if features of a project is to
be divided into modules. This methodology simply helps to expand some
features in a project. There are several iterations of the project while going
through incremental methodology and each increment go through steps
from analysis to maintenance. Each increment is developed and added to
previous development and on and on until the project is complete.
(Pedamkar, 2020)

The process for incremental methodology is shown in the given diagram:

Figure 10: Incremental Methodology Process

Source: https://www.guru99.com/images/6-2015/052615_1049_WhatisIncre2.png

The advantages of this methodology are as follows:


i. The software goes through multiple testing with each increment,
hence contributing to betterment of the software.
ii. It is flexible in case of changes in requirement.
iii. Each stage is followed with feedback session enhancing fast and
better analysis of requirements and development.
iv. Errors are identified quicker. (Guru99, 2020)

The advantages of this methodology are as follows:


i. A good planning for design must be done.
ii. Each increment is rigid and does not overlap each other.
iii. System architecture may cause problem if it does not match with
architects of earlier increments. (Guru99, 2020)

Sanam Katuwal 23
CS6P05NP Final Year Project

The reason behind considering this methodology for this project is


because this methodology is used if the project has high-risk features and
goals as this project does. As this project is for learning, this methodology
also supports if the developer is not skilled or trained.

Sanam Katuwal 24
CS6P05NP Final Year Project

3.3 Selected Methodology


Since this project is only developed to learn, it would mean that the
developer or designer is not skilled enough to go through developing part.
That’s why for developing this project, I decided to follow incremental
methodology. Since this project is a game, we must separate modules to
features of the game.

Analysis

Firstly, I did a research and plan on requirements for the concept game.
Without a story for what the game is developed a game isn’t exciting at all.
I would plan introducing characters in the game. Kings or leaders to soldiers
of teams were planned. As for the increments, planning on how to make the
new increment compatible with the previous one will be done.

Design

Then for designing, sketches of characters of the game and suitable


animations, icons, backgrounds, and grounds were developed. Used from
other resources on web and edited character for the game for animations.
Used photoshop cc to edit and develop backgrounds, and other icons to be
included in the game.

Code

Then development or coding part starts with animations of the characters


based on what the next move player decides to make and make the effect
upon other troops. An AI that detects when to attack, run and other
respective animation depending upon the condition.

Test

With a proper designs and development of the game, a beta test was
run to collect feedbacks. Then, with the collected ideas from feedback
mistakes were resolved and planning for new requirements and how to fit
the idea with the previous development and respectively design,
development and testing were done.

Sanam Katuwal 25
CS6P05NP Final Year Project

And with the processes above, new increments were followed and added
to the previous developments. Documentation was also be prepared while
analysing requirements, designing, and development, so that development
part could be tracked and kept accordingly as planned.

Sanam Katuwal 26
CS6P05NP Final Year Project

3.4 Resource requirements


There are some hardware requirements for my game project so to build
in a smooth way. Without some basic factors that are needed to be
considered for game development it is impossible to move forward with the
project. For game development graphics is the main part so a 2Gb graphics
card is put in requirement. We want a smooth speed while working with this
project, so a minimum of i5 processor, a 64-bit OS and a 4 Gb RAM are to
be required. An SSD is also required for better work with the system.

Software’s that might be required are:

i. Microsoft Word:
This software is used by anyone to prepare documents. It
is used world-wide for business purposes, book writings,
publications, and many more. (Ballew, 2020) It also helps to
correct grammar mistakes. We can also decorate our documents
as we like.

ii. Visual Studio:


Visual Studio is a Microsoft-integrated development
environment (IDE). This software is used for coding with
Graphical User Interfaces (GUIs), Windows Forms, Web services
and applications in various programming languages. (Hope,
2019)

iii. Unity Real-Time development platform:


Unity Real-Time development is a platform for game
developers to create 2D and 3D games. It has powerful features
which help developers to deal with the physics for the game
easily. (Sinicki, 2020)

iv. Photoshop CC:


This application helps editing photos and design. It has
many tools that can be used to edit photos from one form to
another form as per the user desires. It can be used for artistic

Sanam Katuwal 27
CS6P05NP Final Year Project

works as well because of its many tools to support such activity.


This application can be used for creating character to editing
existing characters to new one.

Sanam Katuwal 28
CS6P05NP Final Year Project

4 Implementation
To develop this game, I followed incremental methodology so that I could
add features turn by turn to better my project. I had to develop several
increments of the game before finalizing the project.

Since the project was a learning and executing type, I planned to develop
possible parts and total of 4 increments were developed on the process.
Firstly, I had only to start with my development, so I started by simple GUIs
as increment and then slowly adding characters in the game and adding
little bit more features.

The features in each increment are as below:

i. 1st increment:
GUIs Main menu was developed without any functions
including tools as
- Settings,
- Help,
- Gifts and Treasure,
- Task and Achievements and
- Troop Upgrade.

Proofs:

Sanam Katuwal 29
CS6P05NP Final Year Project

Sanam Katuwal 30
CS6P05NP Final Year Project

Sanam Katuwal 31
CS6P05NP Final Year Project

ii. 2nd increment:


A game level was developed where characters were
developed:
- Animations were given,
- Different attack moves,
- Development of AI enemy,
- Body trigger for all characters,
- Hit detection triggers,
- Health adjustments and
- In game, health bar above character and
- Character generation were made.

Proofs:

Sanam Katuwal 32
CS6P05NP Final Year Project

Sanam Katuwal 33
CS6P05NP Final Year Project

iii. 3rd increment:


- Different levels were made,
- for main character limitation of moves were categorized
and
- bar to identify moves limitation was made.

Proofs:

Sanam Katuwal 34
CS6P05NP Final Year Project

Sanam Katuwal 35
CS6P05NP Final Year Project

Sanam Katuwal 36
CS6P05NP Final Year Project

iv. 4th increment:


- Adjustment on Main Menu tools where functions
provided to Settings, Gifts and Treasure, Troop
Upgrade, Task and Achievements.
- Addition of information on Help section,
- Sounds adjustments were made,
- Game reset function was added.

Proofs:

Sanam Katuwal 37
CS6P05NP Final Year Project

Sanam Katuwal 38
CS6P05NP Final Year Project

Sanam Katuwal 39
CS6P05NP Final Year Project

Sanam Katuwal 40
CS6P05NP Final Year Project

Work breakdown structure

Figure 11: Work breakdown structure

Sanam Katuwal 41
CS6P05NP Final Year Project

Milestone listing

Milestone Name Description


Requirement analysis Hardware and software requirements and
tools to be used are researched.

Planning Game characters introduction, sound for


objects, weapons and suitable storyline for
the game is panned.
Designing Character sketch, maps, suitable
cities/villages/houses sketch, weapons and
more will be designed.
Development Animation and codes are developed.

Testing Testing of the characters and the


movements and sounds will be tested.

Reviewing Other gamers are presented with the project


for reviews and changing requirements if
suitable and needed.

Table 2: Milestone listing

Sanam Katuwal 42
CS6P05NP Final Year Project

5 Design
5.1 Use Case
The game has certain features that user/player can access. The users
of application would be one user and the system itself, but the system will
be storing data and displaying on the respective fields so that player would
be aware about their accomplishments throughout the game.

To summarize the role of user following use case diagram is produced:

Figure 12: Use case diagram for "Clash and Battle game"

Sanam Katuwal 43
CS6P05NP Final Year Project

On the above diagram is shown that player will be able to see levels in
the game and can decide to play the available levels. The player will be able
to view gifts and open the gifts earned in the game and can buy some power
cards with coins or diamonds they earned as required. The player can view
challenges and be able to claim reward in case they complete the specific
challenge. In the game player can view troop details and be able to upgrade
as they like only if they fulfill requirements to upgrade any. In settings player
can change the active status of music and sounds, restart the game which
will set values and progress to as of the game was just starting, and they
will be able to quit application as well.

Sanam Katuwal 44
CS6P05NP Final Year Project

5.2 State Diagram


The state diagram for the project is divided into two parts where one part
shows the exploration of tools in the game and another for the game play.

Following is the state diagram for tools provided in the game:

Figure 13: State diagram for tools on Main Menu

In the above diagram, it starts from starting of the game which directs us
to main menu after clicking any key. In main menu, we have various tools
Help, Treasures and Gifts, Tasks and Achievement, Troops Upgrade and
Settings. In Help, we only find information so there is no more exploration.
In Treasures and Gifts, we can claim the gifts and buy deals. In Tasks and
Achievement, we can view tasks and if any tasks completed then can claim
prize. In Troops Upgrade, we can view troop info and upgrade troop. In
Settings, we can turn the sounds and music on or off, restart game info and
quit the game.

Following is the state diagram for game:

Sanam Katuwal 45
CS6P05NP Final Year Project

Figure 14: State diagram for game

In the above diagram, in main menu we can find different time which
game can be played if unlocked. After selecting a time (day, night, rainy) we
may select a level amongst other which is unlocked. For each level an
information is given, and we can play the level. In a game level or scene,
we can choose to retreat or play all the way till we win or lose. After the
game is finished a win/lose status is shown and we can decide either to play
the game again or quit the game level.

Sanam Katuwal 46
CS6P05NP Final Year Project

5.3 Flowchart
Inside game, player has different choices he can make for move of the
leader they will be controlling. With certain rule of key combination unlocks
unique moves and within certain condition. AI on other hand also works its
moves on detection for specific tasks.

To show how player can function inside game, following flowchart is


prepared:

Figure 15: Flowchart of player’s main character functioning

The AI is implemented for both player troops and enemy troops except
the main character (Leader), where they perform action based on detection
of ranges and their opponent. The flowchart for working of AI is shown
below:

Sanam Katuwal 47
CS6P05NP Final Year Project

Figure 16: Flowchart for AI working

Sanam Katuwal 48
CS6P05NP Final Year Project

5.4 Algorithm
To function game properly, it has certain process to go through from
starting to the declaration of the winner or the status of the game.

Following algorithm provides the processes for how the main character
functions:

Step 1: Start game.

Step 2: Provide animator control to the leader and set to idle animation state.

Step 3: Check and update health and strength status.

Step 4: If health is 0 then Step 5 else to Step 7.

Step 5: Change animation to Die animation state and wait for end of
animation then go to Step 6.

Step 6: Destroy game object then skip to Step 11.

Step 7: If strength is less than 20 then set weak animation active.

Step 8: Wait for leader command and collect set of keys.

Step 9: Check for animation rule for key press collection and set respective
animation state.

Step 10: Go to Step 3.

Step 11: End.

To control the AI of the game following algorithm is executed:

Step 1: Start game.

Step 2: Check for the AI if it is enemy AI or team AI.

Step 3: Set respective animator controller to the AI and set to Idle state.

Step 4: If health is 0 then go to Step 5 else go to Step 7.

Step 5: Change animation to Die animation state and wait for end of
animation then go to Step 6.

Sanam Katuwal 49
CS6P05NP Final Year Project

Step 6: Destroy game object then skip to Step 15.

Step 7: If health and strength is less than 20 then set got hit animation and
change the animator control and weak animation is set active.

Step 8: If enemy target set locked go to Step 9 else go to Step 4.

Step 9: Check direction and walk up to the opponent.

Step 10: If enemy on attack range go to Step 11 else go to Step 12.

Step 11: If weak then set to weak attack animation and wait for animation
end and go to Step 4.

Step 12: If enemy on enemy range, then go to Step 13 else Go to Step 14.

Step 13: If not weak then set run animation and go to Step 4 else go to Step
14.

Step 14: Set walk animation and go to Step 4.

Step 15: End.

Sanam Katuwal 50
CS6P05NP Final Year Project

5.5 Wireframes
As for how the application is expected to look, I have planned, sketched,
and designed the wireframe for my application. Following is the detail on
how the UIs will be appearing one after one:

At first, the game will open, and the user needs to tap anywhere on the
screen to open the starting form of UI which will appear as:

Figure 17: Home Page Form

There will be tools on the left sides which are help, treasure and gifts,
task and achievements, troops upgrade, and settings. In the middle of the
screen will be shown few game themes in which player would like to play
on and of course player must unlock them by completing the requirement
for the respective game. On top right corner will be power cards, coins, and
gems collection count.

The player needs to understand how they can better play moves with
main character, and for that there is provided help section which can be
seen on top left corner of the main menu form:

Sanam Katuwal 51
CS6P05NP Final Year Project

Figure 18: Help form

In help section player will be given instruction on what sets of button will
allow user to show skills of the main character and also warnings for too
much use of power skills and other moves.

In home form if user decides to see treasure following form will open:

Figure 19: Treasure Page

At the top right corner are power cards collection, coins, and gems count.
On the top left corner is the button “back” which will take to the previous

Sanam Katuwal 52
CS6P05NP Final Year Project

form (Main menu form). User will be opening daily gift on daily basis which
will be timed after the user opens the gift so that the gift will be available
next day only. And for other gifts, the player will need to earn them during
game play. If there are not enough power cards for the player, then an
option to use gems to buy the cards will be given.

If the user decides to go for the troops section, then following form will
open:

Figure 20: Troops Page

On the top right corner are the power cards collection, coins, and gems
count. On the top left corner is the button “back” which will take to the
previous form (Main menu). On tapping any troop on the troops section, an
option to press info button will appear which will show information about the
troop. On upgrade troops section if player has enough coins or gems then
upgrade button will be enabled until it will be allowed to. On clicking upgrade
button, the level of the troop will be increased with increase in health and
strength.

If the user decides to tap settings button on the home form, then
following form will open:

Sanam Katuwal 53
CS6P05NP Final Year Project

Figure 21: Settings Page

On the top left corner is the button “back” which will take to the previous
form(Main menu). It shows options to turn the sound effects and music off
and on. User will also be given an option to restart game which will reset
every data as if user would be playing from the start. And if user needs to
quit the application, he can open this form to click the shown quit application
button.

If user decides to open and see achievements and challenges, then


following form will open:

Sanam Katuwal 54
CS6P05NP Final Year Project

Figure 22: Challenges Page

On the top left corner is the button “back” which will take to the previous
form (Main menu). It shows all the list of tasks and progresses. If any task
is completed, then respective claim button will be enabled to click to claim
respective reward.

After a game level is selected following form will open:

Figure 23: Game Field

On top middle of the screen will be shown time for the battle to occur
and no more than that will the battle continue. And on left and right top is

Sanam Katuwal 55
CS6P05NP Final Year Project

shown the count of team troops and enemy troops, which will let player
know the status of the battle. If user decides to end the game, he can click
the “quit” button.

Sanam Katuwal 56
CS6P05NP Final Year Project

6 Testing
6.1 Testing Overview: Black box Testing
Testing is often done to validate a software on if it has all the features
and functions running so that the requirements of the software can be
fixated and improvised to deploy. A software can be tested in various ways.
There are different types and method to test a software which are: functional
testing and Non-functional testing. Functional and Non-functional testing are
also categorized. Functional testing is done to test the functions in software
whereas Non-functional testing is done to test other aspects of software
such as performance, reliability, usability, security, etc. (Hossain, 2021)

To check if the functions provided in the game works properly or not


testing is the vital part otherwise it wouldn’t prove if the project works or not
and worse is that we don’t get to fix our mistake and improve the project.
Black box testing is done to test the functions of a software irrelevant to
coding part. To finalize the project, Black box testing was carried out and to
prove functionality, tables and some snaps of the testing and conclusions
made from those screenshots are shown.

6.2 Game build testing


Objective To check if game is built for other
users to access or play the game.
Action Use build settings in unity to build the
program.
Expected Result The game would be successfully built
without throwing compilation errors.
Actual result The game gets successfully built for
the player to use the game.
Conclusion Test successful.
Table 3: Test table for game building

Sanam Katuwal 57
CS6P05NP Final Year Project

Figure 24: Selecting a folder to save game file

Figure 25: Game build processing

Sanam Katuwal 58
CS6P05NP Final Year Project

Figure 26: Game built

Figure 27: Built game file saved

Sanam Katuwal 59
CS6P05NP Final Year Project

Figure 28: Game launched

Sanam Katuwal 60
CS6P05NP Final Year Project

6.3 Game scene transition testing


Objective To check if game scene button let
transition between other scenes.
Action Click respective scene denoting
buttons to access to the scenes.
Expected Result The scenes would appear in clicking
respective icons.
Actual result The scenes transition successfully.
Conclusion Test successful.
Table 4: Test table for scene transition

Figure 29: Game starting

Sanam Katuwal 61
CS6P05NP Final Year Project

Figure 30: Main menu launch on pressing any key

Figure 31: Help scene loaded

Sanam Katuwal 62
CS6P05NP Final Year Project

Figure 32: Treasure and gifts scene

Figure 33: Tasks and achievements scene

Sanam Katuwal 63
CS6P05NP Final Year Project

Figure 34: Troops upgrade scene

Figure 35: Settings scene

Sanam Katuwal 64
CS6P05NP Final Year Project

Figure 36:Day time game mode scene

Sanam Katuwal 65
CS6P05NP Final Year Project

6.4 Game play and animation testing


Objective To check if game can be played,
player damages can be seen, perfect
animation is made, health bar and
moves bar adjusted accordingly.
Action Play a level and follow help scene
instruction for main character’s
moves.
Expected Result Game would be played; troops
damage would be visible, meaningful
animation are played, health bar and
moves bar properly counted.
Actual result Game can be played; troops damage
is visible, animation works fine, and
health bar and moves bar is properly
counted.
Conclusion Test successful.
Table 5: Test table for game play and animation

Figure 37: Clicking play to play a level

Sanam Katuwal 66
CS6P05NP Final Year Project

Figure 38: A Game level

Figure 39: Main character on move and troops getting damage

Sanam Katuwal 67
CS6P05NP Final Year Project

Figure 40: Troop dying animation and count adjusted

Sanam Katuwal 68
CS6P05NP Final Year Project

6.5 Game win/lose status testing


Objective To check if winning losing info is
seen.
Action Play a level.
Expected Result Game win/lose status would be
presented.
Actual result Game win/lose status is presented
detailly.
Conclusion Test successful.
Table 6: Test table for win/lose status show

Figure 41: Game on process

Sanam Katuwal 69
CS6P05NP Final Year Project

Figure 42: Player wins the match

Figure 43: Match process to player losing

Sanam Katuwal 70
CS6P05NP Final Year Project

Figure 44: Player lost the match

Sanam Katuwal 71
CS6P05NP Final Year Project

6.6 Gifts claim and buy testing


Objective To check if player can claim gifts.
Action Go to gifts and treasure scene and
claim or buy.
Expected Result Player can claim gifts and buy deal.
Actual result Daily gift claimed, gold and diamonds
increased.
Diamond is bought with golds
resulting diamonds increase and coin
number decrease.
Conclusion Test successful.
Table 7: Test table for gifts claim and buy diamonds

Figure 45: Claim daily gift hover

Sanam Katuwal 72
CS6P05NP Final Year Project

Figure 46: Daily gift claimed

From above figures we can conclude that, after claiming daily gifts of 1000
coins and 5 diamonds, the count of 5200 coins and 0 diamond has increased
to 6200 coins and 5 diamonds.

Figure 47: Buy diamond hover

Sanam Katuwal 73
CS6P05NP Final Year Project

Figure 48: Diamonds bought

From above figures we can conclude that, after buying 25 diamonds from
6250 coins, the count of 16200 coins and 25 diamonds is updated to 9950 coins
and 50 diamonds.

Sanam Katuwal 74
CS6P05NP Final Year Project

6.7 Tasks and achievements work testing


Objective To check if tasks is updated to
achieve reward.
Action Go to task and achievements scene.
Expected Result Player would be able to view update
in tasks and achievements and claim
reward.
Actual result Tasks done updated.
Reward for completed tasks claimed
and updated.
Conclusion Test successful.
Table 8: Test table for tasks and achievements scene

Figure 49: A game won

Sanam Katuwal 75
CS6P05NP Final Year Project

Figure 50: Win status updated on tasks completion

Figure 51: A task completed to claim reward

Sanam Katuwal 76
CS6P05NP Final Year Project

Figure 52: Reward claimed

In above figures for claiming reward for tasks we can see the coin and
diamonds are increased from 9950 and 40 to 19950 and 60 after reward is
claimed of 10000 coin and 20 diamonds.

Sanam Katuwal 77
CS6P05NP Final Year Project

6.8 Troop detail and upgrade testing


Objective To check if troops detail is available
and get upgraded.
Action Go to troops detail scene and try
viewing detail and upgrading troop.
Expected Result Player would be able to view troop
details and upgrade one.
Actual result Troop details before and after
upgrade viewed and changed.
Conclusion Test successful.
Table 9: Test table for troops info view and upgrade

Figure 53: Troops details scene

Sanam Katuwal 78
CS6P05NP Final Year Project

Figure 54: Leader details

Figure 55: Leader upgrade details

Sanam Katuwal 79
CS6P05NP Final Year Project

Figure 56: Leader upgraded

From above figures we can conclude that, after upgrading the Leader to
level 2 with 10 diamonds the diamond count has gone from 50 to 40.

Figure 57: Leader details after upgrade

From above figure we can conclude that, Leader is upgraded to Level 2 and
the health and damage has increased.

Sanam Katuwal 80
CS6P05NP Final Year Project

6.9 Settings testing


Objective To check if settings scene function
properly.
Action Go to settings scene.
Expected Result Player would be able to restart game,
adjust music and sound turning on
options and quit the application
Actual result Game doesn’t restart, music and
sound system don’t work, application
can be quit.
Conclusion Test unsuccessful for restarting,
sound, and music but successful for
quitting application.
Table 10: Test table for settings scene

Figure 58: Restart game hover

Sanam Katuwal 81
CS6P05NP Final Year Project

Figure 59: Game restarted

Figure 60: All progress cleared and set to initial data of game.

From above figure we can conclude that, after clicking the restart game all
the progress of player is wiped and initial game data is replaced.

Sanam Katuwal 82
CS6P05NP Final Year Project

Figure 61: Sound and music turned off

Figure 62: Sounds and music turned on

Sanam Katuwal 83
CS6P05NP Final Year Project

Figure 63: Quit application clicked

Figure 64: Game quit

Sanam Katuwal 84
CS6P05NP Final Year Project

7 Analysis
Although the project shows working, there are flaws within which I intend to
correct in time. The limitation

7.1 SWOT Analysis


Overview

The project provides an entertaining game worth it to play. Different sets


of character involvement let player understand the functions as well as
character strengths and weaknesses. The game defines itself as a battle
game and while playing and diverging into it, it shows a combat kind of game
where player needs to make moves and make maximum effort from their
side. So, to conclude, this game is an Action, battle, and combat game.

The SWOT analysis is carried out to point out the strengths, weakness,
opportunities, and threats of the project to better define what the project is.

Strengths

There are quite a few interesting strengths in this project that makes this
game a good one. The strengths of the project are:

• This game has unique idea of joining a battle and combat genre
together.
• Players are to be interested with awesome move skills from the
main character they will be playing.
• Limiting strengths and power makes user focus on to be careful
with using too much of power.

Weakness

The weaknesses of the project are:

• The game lacks qualitative characters.


• The game lacks quests and treasure accumulation.
• No smooth way of buying collectibles required to upgrade the
characters.
• Use of predictable AI.

Sanam Katuwal 85
CS6P05NP Final Year Project

Opportunities

Doing this project provided a lot of opportunities. The opportunities of the


project are:

• It gave me an opportunity to learn designing, animations, and


coding.
• Developing a game project encouraged me for more ideas of
game which will be implemented sooner.
• Searching for players and sharing the game to play attracts more
ideas and better development of the project.

Threats

The threat to the project is that it may not get more interested players
because of lacking qualitative design of the game characters and the
overlapping of characters difficult to separate how many troops stand on a
single place.

Sanam Katuwal 86
CS6P05NP Final Year Project

7.2 Sustainability
This game project has many features a common game should have.
Though simple, the features are as interesting as any average game in the
market would prove to be. Only for the game rules and battles the game is
interesting but the graphics and animations do not serve the game with the
uniqueness in the game and only might seem dull to some users. But if that’s
to be ignored the game would prove entertaining to some.

The market release of the project might be disappointing rather than be


enjoyed because it lacks numbers of level that a game should have. To be
sustainable a game should not be short. A game is only worth if the levels
are worth playing again and again but this project doesn’t contain such a
worthy AI where they set to their enemy on a random basis.

As to how much this game could last for a user may depend upon the
player themselves but it would only prove to be few a day since the player
will be done with all the levels that need to be completed to end the game.

Sanam Katuwal 87
CS6P05NP Final Year Project

8 Limitation
Although the project shows working, there are flaws within which I intend to
correct in time. The limitation of the developed project is as follows:

• There are not enough characters to make the game more interesting.
• Not enough challenges for player to complete.
• No other obstacles in the game other than AI enemy.
• Hit detection on enemy is not quite good.
• The health bar on distinct character overlap together making it unable
to read the health.
• Characters overlap with each other when in the same position
making it difficult to know number of characters on a position.

Sanam Katuwal 88
CS6P05NP Final Year Project

9 Conclusion
9.1 Conclusion and Experience
This project has given me a great sense on how to research on topics
and develop a project. With the guidance of supervisors and research I
believe to gain more knowledge and experience throughout the
development to deliverable.

The game is interesting because player can apply moves as they want
but there is also limit to what the player can do. There are interesting
awesome moves provided for the main character but can only be accessed
with the collectibles the player has earned and collected throughout the
game. The main character is unable to act main moves most time because
of limitation on the moves. So, player will be limited to use the main
characters move by waiting to recover time.

The game “Clash and Battle game” is developed with great planning and
use of resources helpful for the project. Even if the character quality is not
perfect, the features and function of the game are good, and it gives a sense
as a game to players. UIs and features of the game is incredible and are
user-friendly. With much research, change in plans and requirements I have
developed a playable and interesting game. Although the project is at the
end, I have plans to execute more ideas and make it more than an
interesting game and increase my game developing skills for the sake of
future.

Incremental methodology is applied to develop this project. The main


objective of this project is to develop a game where we can see and perform
battles between teams. Without complexity this game is expected to provide
all the good functionality as planned. This project will present unique
structure of game. It will focus on realistic world and characters. This project
was tested several times by several users and the data were collected for
the betterment of the project.

I was unaware from how my mindset for developing a more standard


game about the difficulty would it have been if I chose to do so. I had more
in plan than how much I have done but those plans will be the next for me

Sanam Katuwal 89
CS6P05NP Final Year Project

to execute since I have built up more knowledge and confidence to do any


standard level project. The key is to start. With how I have done my work, I
realised that it is not that of a problem to plan and design to move on to
development part of a project. Even though I have developed a game
project this project has given me confidence with developing any kind of
project.

Sanam Katuwal 90
CS6P05NP Final Year Project

References
Anderton, K., 2018. The Impact Of Gaming: A Benefit To Society [Infographic]. [Online]
Available at: https://www.forbes.com/sites/kevinanderton/2018/06/25/the-impact-of-
gaming-a-benefit-to-society-infographic/?sh=4e7d25bf269d

Ballew, J., 2020. [Online]


Available at: https://www.lifewire.com/microsoft-office-4156573

Beck, K., 2019. [Online]


Available at: https://mashable.com/article/video-game-development-over-the-decade/

Guru99, 2020. Incremental Model in SDLC: Use, Advantage & Disadvantage. [Online]
Available at: https://www.guru99.com/what-is-incremental-model-in-sdlc-advantages-
disadvantages.html

Hope, C., 2019. [Online]


Available at: https://www.computerhope.com/jargon/v/visual-studio.htm

Hossain, A., 2021. Types of Software Testing. [Online]


Available at: https://hackr.io/blog/types-of-software-testing

Manager, P., 2020. The Ultimate guide to: Waterfall Methodology. [Online]
Available at: https://www.projectmanager.com/waterfall-
methodology#:~:text=What%20Is%20Waterfall%20Methodology%3F%20Waterfall%20meth
odology%20is%20a,each%20phase%20of%20the%20project%20cascades%20into%20

Pedamkar, P., 2020. Incremental Model. [Online]


Available at: https://www.educba.com/incremental-model/

Pressman, R. S. & Maxim, B. R., 2015. Software Engineering A Practitioner's Approach. 2


Penn Plaza, New York, NY 10121: Mc Graw Hill Education.

Rivenes, L., 2017. [Online]


Available at: https://datapath.io/resources/blog/the-history-of-online-
gaming/#:~:text=MAZE%2C%20which%20is%20created%20by%20NASA%20interns%2C%20i
s,multiple%20screens.%20This%20creates%20the%20first%20time-sharing%20consoles.

Sinicki, A., 2020. [Online]


Available at: https://www.androidauthority.com/what-is-unity-1131558/

Smithsonian, 2021. Video Game History. [Online]


Available at: https://www.si.edu/spotlight/the-father-of-the-video-game-the-ralph-baer-
prototypes-and-electronic-games/video-game-history
[Accessed 18 July 2021].

Verma, S., 2020. All You Need to Know About a Career in Gaming. [Online]
Available at: https://idreamcareer.com/blog/career-in-gaming/

Yanev, V., 2021. Video Game Demographics – Who Plays Games in 2021. [Online]
Available at: https://techjury.net/blog/video-game-demographics/

Sanam Katuwal 91
CS6P05NP Final Year Project

Appendix
Work Breakdown Structure

Figure 65: Work Breakdown Structure

Sanam Katuwal 92
CS6P05NP Final Year Project

Milestone Listing

Milestone Name Description


Requirement analysis Hardware and software requirements and
tools to be used are researched.

Planning Game characters introduction, sound for


objects, weapons and suitable storyline for
the game is panned.
Designing Character sketch, maps, suitable
cities/villages/houses sketch, weapons and
more will be designed.
Development Animation and codes are developed.

Testing Testing of the characters and the


movements and sounds will be tested.

Reviewing Other gamers are presented with the project


for reviews and changing requirements if
suitable and needed.

Table 11: Milestone listing

Gannt Charts

Figure 66: Previous Gannt Chart

Sanam Katuwal 93
CS6P05NP Final Year Project

Figure 67: New Gannt Chart

Sanam Katuwal 94

You might also like