-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreadme.txt
34 lines (28 loc) · 2.26 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
both console and GUI is supported
to start a console game: run Game.java in the main folder
to start a GUI game: run Rummy.java
known bugs with the game:
The following are not errors with GUI but the backend (it shows up on the console as well):
- there are instances where there are more jokers than allotted amount (greater than 2)
- instances where melds get added to the table, and when next player's turn comes up, the table gets emptied out
- joker gets added to an invalid meld sometimes (cards are not proper, or there are less than 3 cards)
- there is one instance where joker does not go part of a valid meld and throws an exception, crashing the game
title screen: select the amount of players from the drop down menu
- select with strategies to use for each player selected
- you have the option of game rigging by clicking the button beside strategy option and selecting its initial 14 cards
- "choose" button is file input, it starts the game with a preset rack for each player
- "rig each draw" checkbox makes it so that after every turn (assuming player skips their turn), you can select which card they draw from the stock
regardless of whether they're human or AI
- checking "testing mode" allows you to view every player's racks (regardless of whether human or AI), and it also shows everything in the console as well
- play button will start the game with the options you have selected (without "test mode" you can only see the human players' cards)
main screen:
- start game button to start the Game
- next turn button moves through the player turns
- current player's label is bolded on the GUI during their turn
- when its human turn:
- you have to go back to console to do the human player interactions on the there
- only once human player turn ends (entering in 0 until AI's turn starts) can the GUI work again
- rig draw will replace the next turn button so that at the end of the turn you can choose from the stock which tile to give which player
- after that you can go to next turn as usual
- game ends when stock runs out or one player empties their rack - this shows in the console again
The bugs mentioned above will create instances where game crashes, or things happen on the board that shouldn't. Please restart the game when that happens