Skip to content

Gdog12g4/Pokemon_Battle_Simulater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon Types Game (Python) by Gerald Fleming

A Beginner Level Python project to outline the flow of a project as well as use of modules and functions.

Pokemon battle simulator based on real up-to-date strength and weakness charts. We use the Random() module as well as multiple custom functions to make difficult tasks easier by breaking them into individual parts.

Table of Contents

  1. How to Play this game
  2. What does this project do?
  3. Pokemon Type Chart (Strengths/Weaknesses)
  4. Ways to Improve

How to Play this game

The current version of this game can only be played from the terminal

  1. Download the POKEMON_PKG and move to an accessible folder.
  2. Open your terminal, bash., etc. and change directory to the POKEMON_PKG folder.
  3. Type: python pokemon_game.py
  4. Enjoy!!

What does this project do?

  1. Ask if you'd like to play the Pokemon game or quit.
  2. Displays Pokemon types and ask you to input a single choice of type.
  3. The computer opponent picks thier own type at random.
  4. A winner is selected based on each types strenghs and weakness and does a coin flip if player and opponent are equal to each other.
  5. Results are saved and ask if you'd like to see the results.
  6. Ask if you'd like to play the Pokemon game again or quit.

Pokemon Type Chart (Strengths/Weaknesses)

Type(18) Strong Against Weakness
Bug Grass, Dark, Psychic Fire, Flying, Rock
Dark Ghost, Psychic Bug, Fairy, Fighting
Dragon Dragon Dragon, Fairy,
Electric Flying, Water Ground
Fairy Fighting, Dark, Dragon Poison, Steel
Fighting Dark, Ice, Normal, Rock, Steel Fairy, Flying, Psychic
Fire Bug, Grass, Ice, Steel Ground, Rock, Water
Flying Bug, Fighting, Grass Electric, Ice, Rock
Ghost Ghost, Psychic Dark, Ghost
Grass Ground, Rock, Water Bug, Fire, Flying, Ice, Poison
Ground Electric, Fire, Poison, Rock, Steel Grass, Ice, Water
Ice Dragon, Flying, Grass, Ground Fighting, Fire, Rock, Steel
Normal -- Fighting
Poison Fairy, Grass Ground, Psychic
Psychic Fighting, Poison Bug, Dark, Ghost
Rock Bug, Fire, Flying, Ice Fighting, Grass, Ground, Steel, Water
Steel Fairy, Ice, Rock Fighting, Fire, Ground
Water Fire, Ground, Rock Electric, Grass

- Neutral matchups will be determined via Coin Flip

Ways to Improve

  • I could have used python class to tighten the code work for defining the strengths and weaknesses for more concise code.
  • I can apply the core of the code to a web app and add more visual aspects to it so it's not just playable from the console.

I do not own Pokemon, a Nintendo brand.# Pokemon_Battle_Simulater

Pokemon_Battle_Simulater

Pokemon_Battle_Simulater

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors