Skip to content

Pick two Pokemon and let them battle! Guess who wins.

Notifications You must be signed in to change notification settings

lahrry/pokemon_battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pokemon_battle

Pick two Pokemon and let them battle! Guess who wins.

Pokemon.py

  • Created a dictionary of Pokemon objects, with Pokemon name as keys
  • Loaded the dataset from pokemon.csv
  • Retrieved the two Pokemon objects from the dictionary
  • Calculated the total stats of each Pokemon
    • The stats were calculated by adding "HP, defense, special attack, special defense, speed"

pokemon_ui.py

  • Used tkinter for GUI
  • Created the main window, dropdown menu, button to start the battle
  • data was imported from simulate_battle and pokemon_dict
Screenshot 2024-03-28 at 10 16 11 AM Screenshot 2024-03-28 at 10 16 01 AM Screenshot 2024-03-28 at 10 16 38 AM

pokemon database from : https://gist.github.com/armgilles/194bcff35001e7eb53a2a8b441e8b2c6

About

Pick two Pokemon and let them battle! Guess who wins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages