-
Name: Shriya Bedi, UID: 3035663502
About me: I am a positive and spirited person, and I enjoy taking on challenges. I am curious by nature and am always eager to learn new skills. I am fond of reading and music, and aspire to publish a novel someday. -
Name: Kritik Satija, UID: 3035666645
About me: I am a hardworking and diligent person. I enjoy working on different projects in teams. I get along well with all kinds of people. Apart from that, I enjoy playing sports such as table tennis and chess.Group: 113
Pokémon Challenges is a two player turn based game inspired by the popular Pokémon videogames. In this game, each player is randomly assigned a pre-decided number of pokémons from an existing database. They carry out attacks on each other, aiming to lower the health of the other pokémon to zero. When its health reaches zero, the pokémon faints. If the player has any more pokémons left, they can be used until their health also depletes to zero. The first player to finish all pokémons loses the game.
-
A main menu displays the rules of the game and available pokémons.
-
Random selection of pokémons takes place for both the players
-
Dynamic memory management is done by storing pokémons in a vector.
-
A file stores the input that the user enters. This input will be the number of pokémons that both players will recieve for every battle, and may be modified during runtime.
-
The pokémons assigned in the game settings will be stored in a file and loaded using file I/O.
-
The code is distributed into multiple files, separately for functions that will have their own cpp and header files (.h).
-
A Makefile is present in the repository to compile all these files.
-
Each file includes descriptive comments explaining the functions of the code.
-
Step 1: Clone the GitHub url in the terminal using
git cloneand enter login details. -
Step 2: Enter the
make maincommand. -
Step 3: All the files will compile and if any errors are present, they will be spotted.
-
Step 4: After successful compilation, enter
./maincommand. -
Step 5: The welcome page should open and the game begins.
-
Step 6: At the end of the game, after exiting, the user may enter
make cleanto clear file clutter. This is not a necessity.