Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How should it look like? Graphical user interface is a bit detailed in this project, it is going to consist of more than one layout.

How should it look like?
Graphical user interface is a bit detailed in this project, it is going to consist of more than
one layout. So let's advance step by step.l
How should it work:
In our Pokemon game, main game flow consists of the battle of two players. If you have ever
played any Pokemon game before, it will seem pretty familiar, of course a bit simplified.
In Pokemon games, two Pokemons battle at once, and battles are performed as turn based,
which means one player moves first then it becomes the other player's turn to move, just
like in chess.
The picture shows the war screen, which is the scene that battle between two Pokemons
will occur. Two players will choose their Pokemons and after selection player 1 will move
first. Players can choose two different attack types, first one is physical, which is the more
consistent one, second one is elemental, which is the less consistent but high risk - high
reward type of move.
Each Pokemon will have it's own element type and this element type will matter in battles
if players prefer using elemental attacks. Fire is stronger than nature and water is stronger
than fire etc.
But before going this far, let's start from the very beginning, from getting the data of the
Pokemons.
If you are familiar with the Pokemon culture, there are hundreds of Pokemons in the
Pokemon universe. Also every Pokemon has an element, a sub element, generation,
some of them are legendary etc. so as you can see there are too many details for a
simple child play. In this project, we are going to simplify things a lot and use only
the data we needed. So first, see the figure below, which is the Pokemon.csv file that
we are going to give you to do some data cleaning on it, we are going to need only 18
of them for this game.
In our game, rules are simple: two Pokemons fight, one that finishes enemy's health
faster wins. So Pokemons are going to ave only those attributes: Name, Element type,
HP and attack values (In game, we will use 5 times this health value). From the given
Pokemon database, you will drop all other columns.
Also the 18 Pokemons we are going to use are given below, drop all others:
-Bulbasaur ,Ivysaur, Venusaur, Charmander ,Charmeleon, Charizard, Squirtle, Wartortle, Blastoise, Caterpie, Metapod, Butterfree, Weedle, Kakuna, Beedrill, Pidgey, Pidgeotto, Pidgeot
After this data cleaning done, your new and clean dataset should seem like this:
Use pandas for this task and write the clean database to a csv file.
You are going to use these Pokemon data in game, when players choose their Pokemons,
their attributes will be taken from this file (In game, 5 times of health value of Pokemons
in csv will be used).
After getting the clean dataset, now we are ready to build the GUI for the game flow.
First, players needs to choose their Pokemons, so we are going to need a Pokemon
selection screen. Here you can build your own beautiful GUIs but it doesn't need to
be too much detailed, or specifically the same with the selection screen system below,
just create something that will do the task, which is just the selection of Pokemons.
Above you see the selection window for Player 1, player 1 will going to choose the name
of Pokemon from the ListBox and then see the image of the Pokemon in the question
marked place.
Image will change when player click any of the Pokemons in the ListBox. When player
1 decides the Pokemon he wants, then needs to click Choose button and then selection
window for player 2 will appear.
Above figures you see only 6 Pokemons for each player, but cleaned dataset had 18 of
them? Where are the rest 12 Pokemons?
If you are not familiar with Pokemon universe, pokemons can evolve as they grow up
or fight and get stronger. In the dataset we cleaned actually has 6 different Pokemons,
and every Pokemons has their evolution level 2 and 3. In the battles, the Pokemon
who won the round will get evolved and both it's attributes and image will change. So
other 12 Pokemon will appear in the next phases of the battles.
After both players choose their Pokemons, battle will begin.
Battles are performed turn based, one player hits and after him other player hits. So
be sure when it's one player's turn, other player has to wait and can not attack.
In the figure as you see, since it's Player 1's turn (Player 1 starts the game) buttons
of Player 2 are disabled.
Players have two options: physical attack and elemental attack. Difference of physical
and elemental attack is like as follows (do not forget to multiply by 5 the health value
of Pokemons given in the csv):
Physical: Can give damage between 75%-100% of Pokemon's attack value.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions

Question

Does it have at least one-inch margins?

Answered: 1 week ago

Question

Does it highlight your accomplishments rather than your duties?

Answered: 1 week ago