Skip to content

satijakritik/pokemon-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokémon Challenges

Group Members

  1. 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.

  2. 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

Game Description

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.

Functional Components of the game :-

  1. A main menu displays the rules of the game and available pokémons.

  2. Random selection of pokémons takes place for both the players

  3. Dynamic memory management is done by storing pokémons in a vector.

  4. 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.

  5. The pokémons assigned in the game settings will be stored in a file and loaded using file I/O.

  6. The code is distributed into multiple files, separately for functions that will have their own cpp and header files (.h).

  7. A Makefile is present in the repository to compile all these files.

  8. Each file includes descriptive comments explaining the functions of the code.

Step by Step Instructions:-

  1. Step 1: Clone the GitHub url in the terminal using git clone and enter login details.

  2. Step 2: Enter the make main command.

  3. Step 3: All the files will compile and if any errors are present, they will be spotted.

  4. Step 4: After successful compilation, enter ./main command.

  5. Step 5: The welcome page should open and the game begins.

  6. Step 6: At the end of the game, after exiting, the user may enter make clean to clear file clutter. This is not a necessity.

About

Create a Pokémon game as group project for ENGG1340

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •