Game - Zayxon/dungeon-dragons-tool GitHub Wiki
Create a new game
- Added players - ListView showing players which has been added to this current game.
- Add - Button to add players to the game. Each player has a name and a class.
- Icon - Circle showing the icon of currently selected class.
- Name - Text field where name of the currently selected player can be set.
- Class - ComboBox to set the player selected class. User can choose among 8 different classes.
- Remove - Button to remove selected player within the ListView from the ListView.
- Start game - Creates game with given parameters. Opens the Game Window.
Load an existing game
Select the gamesave user wants to load with left click.
- Load Game - Loads the game. Opens the Game Window.
Playing the Game
Game rules
Game rules are set by the user (dungeon master). He tells the story so he decides the way the game will be played. Application just provides user with several features, which makes the game easier to follow for other players.
Interface
1. Main Panel
Shows the hex grid map with terrain, objects and enemies.
2. Right Panel
2.1. Buttons
- Save Game - Saves the game under the created name (also rewrites old save of this game).
- Exit Game - Opens a dialog window whether the user really wants to exit the game - "Yes" / "No"
- Helmets - Button to display Helmets in the Scroll Pane below.
- Chest - Button to display Chests in the Scroll Pane below.
- Leggins - Button to display Leggins in the Scroll Pane below.
- Boots - Button to display Boots in the Scroll Pane below.
- Hands - Button to display Hands in the Scroll Pane below.
- Weapon - Button to display Weapon in the Scroll Pane below.
- Usables - Button to display Usable items in the Scroll Pane below.
- Junk - Button to display Junk items in the Scroll Pane below.
- Maps - Button to open new window which displays all saved maps. Then user can select the saved map and load it into the Game window by clicking the Load Map button. Previously loaded map will disappear (will NOT be deleted).
2.2. ListView
Shows the items or maps according to the selected tab above.
2.3. Give Panel
Panel giving the opportunity to adjust the stats of currently selected player. User can type a number into the Text field of his/her choice and add those given values to currently selected player current stats.
2.4. Selected Item Panel
Panel showing the currenlty selected item and giving its description. If the item is selected from inventory, action buttons are showed as well. Each item can be sold or discarded. Usable items can be also used.
- Sell - Button to sell the item, gaining currently selected player some gold and discarding the item from players inventory.
- Discard - Button to discard the item from players inventory.
- Use - Button to use the item. Effects can be different. It depends on the selected item.
3. Bottom Panel
3.1. Switch Players ListView_
ListView to select different players and show then in the Player panel next to it.
3.2. Player Panel
- Icon - Picture of player's class
- Name - Text label showing player's Name
- HP - Bar showing player's current Health Points
- Energy - Bar showing player's current Energy
- XP - Bar showing player's experience towards next level
- Gold - Label showing player's gold balance
- Inventory - Placeholder storing player's items
- Equip - Button equipping a currently selected EQUIP item within the inventory on left click, opening a new window showing player's equip and stats on right click.
- Attack 1, Attack 2, Attack 3 - 3 different buttons for 3 different types of attack.
3.3. Selected enemy or object_
- Enemy
- Icon - Picture of the enemy
- Name - Text label showing enemy's name
- HP - Bar showing enemy's current Health Points
- Attack - Button for enemy's attack. Attacks the currently selected player
- Item Drop - Placeholder storing up to 3 enemy's items.
- Object
- Icon - Picture of the object
- Name - Text label showing object's name
- Description - Label describing the object
3.4. Roll Panel
- Picture of 20-sided dice displaying the currently rolled number. New number is rolled on picture click.