Skip to content

dsmontecastro/PythonDex

Repository files navigation

PythonDex (Prototype)

Screenshot

Description

Made in conjunction with fellow groupmates Jose Salinas and Matthew Menorca, A.Y. 2018. A Pokedex application, serving as our 2nd machine project for our 1st Semester. My main role in this task was to create the logic for the GUI, connecting both the assets and database elements made by my teammates.

The app was developed through Python, making use of Pyglet for its GUI. It loads resources from CSV files, with Pandas as an intermediary. This was a prototype design made in the span of around 1 month, and serves as a basis for one of my personal projects.

UPDATE (2023)

The app works with the latest versions of most packages in the requirements file as of Aug. 2023. However, this excludes Pyglet, as it has deprecated some functions and features from the application's version (1.5).

Installation

Install the necessary dependencies in requirements.txt. Afterwards, the app can be opened through running main.py via the standard python run command, e.g. py main.py.

A simple executable made with PyInstaller is also available.

Controls

The scrollbar can be controlled by via the mousewheel, directional inputs, and the page up & down keys.

Press TAB to mark the currently selected Pokemon as a favorite.

Type in any alphanumeric character to fill in the searchbar above. BACKSPACE will erase the last character, and ENTER to initiate the search. Aside from the Pokemon's name, users can also type in the followin search keys:

  • Common - lists the known non-legendary pokemon.
  • Legendary - lists the known legendary pokemon.
  • Types - input any type or pair of to search for matching Pokemon.
  • Stats - input any stat plus an optional number (default 0) to search for a descending list of Pokemon with at least that base-stat value.

    Note: The special stats are sp_attack or sp_defense.

Use ESCAPE or close the window to quit the program.

About

A PokeDex prototype made with Python & Pyglet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages