Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐉 Pokemon Battle (Java)

MVP

✅ An object-oriented Pokémon battle system implemented in Java
✅ The project follows a classic OOP design
✅ implement the same idea twice:

❗AI Assistance

AI tools were used to support project planning, code reviews, refactoring, and documentation.
The final implementation, design decisions, and project structure were reviewed and validated by myself.

Features

  • Turn-based battle system (Player vs Enemy)
  • Object-oriented state management (encapsulation & mutation)
  • Type effectiveness system (Gen 1 inspired)
  • SQLite database integration
  • Modular architecture (Data, DB, Logic, UI)

Architectur

  • architectur.md
  • classdiagram

Screenshots

Main Menu

grafik

Battle Screen

grafik

Pokemon Selection

grafik

Data Model

PokemonProfile

Field Type Description
name String Name
maxHp int Max HP
attack int Attack
defense int Defense
type String e.g. "fire"
attacks List attacks

Pokemon

Field Type Description
profile Object base data
currentHp int current HP

Attack

Field Type Description
name String Attack name
damage int Base damage
type String e.g. "water"

State (implicit)

Field Description
player-team List of Pokemon
enemy-team List of Pokemon
p-active Player active index
e-active Enemy active index
turn controlled via GameFlow

Future Improvements

  • Status effects (poison, burn, etc.)
  • Improved enemy AI (strategy instead of random)
  • Extended type system (full Gen 1 mechanics)

⭐ Notes

This project is designed as a learning system to explore:

  • Object-oriented programming in Java
  • Translating functional design into OOP
  • Clean architecture and separation of concerns
  • Game logic implementation
  • Database integration with SQLite

Any feedback, suggestions, or criticism are highly appreciated.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages