Finding the best practice for a game simulating tool

Posted by Tougheart on Programmers See other posts from Programmers or by Tougheart
Published on 2012-10-03T21:46:27Z Indexed on 2012/10/03 21:54 UTC
Read the original article Hit count: 192

I'm studying Java right now, and I'm thinking of this tool as my practice project. The game is "League of Legends" in case anyone knows it, I'm not actually simulating the game as in simulating game play, I'm just trying to create a tool that can compare different champions to each other based on their own abilities and items bought inside the game.

The game basics are:

  • Every player has a champion in a team of 5 players playing against another team.
  • Each champion has a different set of abilities (usually 4) that s/he uses to do damage to opposing champions.
  • Each champion gets stronger by buying different items, increasing the attack it deals or decreasing the damage received.

What I want to do is to create a tool to be used outside the game enabling players to try out different builds for their champions and compare the figures against other champions they usually fight against.

The goal is to enable players get a deeper understanding of the different item combinations (builds) that can be used during the games, instead of trying them out in real games which can be somehow very time consuming.

What I'm stuck at is the best practice I should follow to make this possible using Java, I can't figure out which classes should inherit from which, should I make champions and items specs in the code or extracted from other files, specially that I'm talking about hundreds of items and champions to use in that tool.

I'm self studying Java, and I don't have much practice at it, so I would really appreciate any broad guidelines regarding this, and sorry if my question doesn't fit here, I tried to follow the rules.

English isn't my native language, so I'm really sorry if I wasn't clear enough, I would be more than happy to explain anything that's not understood.

© Programmers or respective owner

Related posts about java

Related posts about object-oriented-design