How would I go about this?

Discussion in 'Spigot Plugin Development' started by undead_guppy, Jun 5, 2017.

  1. So I'm making a semi-auto brackets system for a client, and I have an idea for how it'll work but I'm kind of lost at the whole bracketing system.

    Here's my current plan:
    - Store the player's in a map with an integer or enum that represents their stage (semifinals, finals, etc).
    - Randomly set up players to fight each other when they're in the same bracket section (based on their value in the map).
    - Rinse and repeat.

    Is this how I should go about this? Or should I do something different?
  2. just first attempt a try and afterwards if you got an error go here I think it is fine to do that way.