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