Rodriguezje
|
bfc96f8990
Bug fixed
|
5 роки тому |
Rodriguezje
|
77efb87829
Documentation
|
5 роки тому |
RodriguezJe
|
f8b6cc31ea
Merge pull request #9 from stephenstengel/fixing-logic
|
5 роки тому |
Stephen
|
93e048e437
Updated a debugging message.
|
5 роки тому |
Stephen
|
6b3852fcdc
Updated for new methods.
|
5 роки тому |
Stephen
|
5ec08c711d
Added playGame() method and helper functions.
|
5 роки тому |
Stephen
|
8d1afd3ffe
Added dot mehods. Updated toString().
|
5 роки тому |
Stephen
|
3b961f2779
Preparing to nuke nextMove.
|
5 роки тому |
Stephen
|
858d7e9fa5
Fixed? infinite loop. Still gets false ties. I want to nuke nextMove and start over.
|
5 роки тому |
Stephen
|
12021321aa
This version works sometimes. It sometimes infinite loops. It sometimes is unable to put dominoes in the line when they match.
|
5 роки тому |
Stephen
|
70fa3f2c49
Updated tostring
|
5 роки тому |
Stephen
|
5f070d10b1
Added rotate function to Domino class.
|
5 роки тому |
Stephen
|
f6a95fa0dd
Added more methods.
|
5 роки тому |
Stephen
|
da677624dc
Simplified logic.
|
5 роки тому |
Stephen
|
2bd8bc3c95
Added methods checkIfHandEmpty and checkIfWinner.
|
5 роки тому |
Stephen
|
5f71088734
Simplified placing first domino.
|
5 роки тому |
Stephen
|
435e8138bf
Converted to use a table of players.
|
5 роки тому |
Stephen
|
87b94fd126
Simplified placing first domino. Added method to switch turns.
|
5 роки тому |
Stephen
|
91d7b98882
Added arraylist to store the line of play. Added adding methods. Updated tostring.
|
5 роки тому |
Stephen
|
dab298e63f
Renamed variable. Made double sure return values are ints.
|
5 роки тому |
Stephen
|
8d74bf8490
The if else was unneeded.
|
5 роки тому |
Stephen
|
f3d0e7f905
Renamed startgame to myTable
|
5 роки тому |
Stephen
|
6692b764ea
Renamed turn to whoseTurn
|
5 роки тому |
Stephen
|
8cbfb96210
Renamed dominoesOnTable to boneYard
|
5 роки тому |
Rodriguezje
|
b2ffd83a62
Players now take turns placing dominoes
|
5 роки тому |
Rodriguezje
|
15c88ab1b9
Added methods to place domino from players hand
|
5 роки тому |
Stephen
|
cee8f1e165
Removed vestigial variables.
|
5 роки тому |
Stephen
|
0792475491
Merge branch 'constructor-simplify'
|
5 роки тому |
Stephen
|
5b8f36a552
Simplified constructor by putting things into their own methods.
|
5 роки тому |
Stephen
|
3b38df7c6c
Fixed a bug in chosing a random player in a tie.
|
5 роки тому |