Commit graph

101 commits

Author SHA1 Message Date
eea456991c Calculate accumulated score in game state
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@297 72836036-5685-4462-b002-a69064685172
2011-05-29 15:50:24 +02:00
04df1a24d8 Make player name setup work
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@281 72836036-5685-4462-b002-a69064685172
2011-05-26 01:33:17 +02:00
Jannis Harder
656bfe905b Implemented counting of identical stone pairs
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@275 72836036-5685-4462-b002-a69064685172
2011-05-25 17:27:19 +02:00
Jannis Harder
5e855398b9 Tests for counting of identical stone pairs
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@274 72836036-5685-4462-b002-a69064685172
2011-05-25 17:27:18 +02:00
Jannis Harder
a1c0cb89f6 Added test and implementation for an inspection turn before the first
turn

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@273 72836036-5685-4462-b002-a69064685172
2011-05-25 17:10:43 +02:00
Jannis Harder
157bd4f606 Tested and implemented scoring
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@272 72836036-5685-4462-b002-a69064685172
2011-05-25 15:51:34 +02:00
Jannis Harder
8c3c66f361 Implemented routine to check if initial melds are possible
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@266 72836036-5685-4462-b002-a69064685172
2011-05-24 21:57:18 +02:00
Jannis Harder
d5a8b2204c Test if initial melds are possible
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@265 72836036-5685-4462-b002-a69064685172
2011-05-24 01:51:58 +02:00
Jannis Harder
4a98975b0d Calculate points on hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@264 72836036-5685-4462-b002-a69064685172
2011-05-24 01:51:56 +02:00
Jannis Harder
92d1109954 Select a random player for the first round
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@263 72836036-5685-4462-b002-a69064685172
2011-05-24 01:51:54 +02:00
Jannis Harder
d9a0b0e37d Implemented special case round end (heap empty)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@262 72836036-5685-4462-b002-a69064685172
2011-05-24 01:51:53 +02:00
Jannis Harder
2446671f7a Cleaned up RoundControl tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@260 72836036-5685-4462-b002-a69064685172
2011-05-24 01:51:49 +02:00
Ida Massow
9290db240a Nochmal, git ist schwierig
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@258 72836036-5685-4462-b002-a69064685172
2011-05-21 16:10:40 +02:00
Ida Massow
7354002de5 Rauskommen fertig und getestet
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@256 72836036-5685-4462-b002-a69064685172
2011-05-21 15:51:36 +02:00
Ida Massow
39d3c143b2 Ein von fünf Tests fertig für laidOut
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@254 72836036-5685-4462-b002-a69064685172
2011-05-18 17:07:50 +02:00
e76977652d RoundControl: Create players from player settings list from game settings
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@253 72836036-5685-4462-b002-a69064685172
2011-05-18 17:01:11 +02:00
b5397d5aa7 Move some static player data to a player settings class
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@252 72836036-5685-4462-b002-a69064685172
2011-05-18 17:01:10 +02:00
5169f31af0 Add GameSettings with the initial meld threshold
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@251 72836036-5685-4462-b002-a69064685172
2011-05-18 16:02:23 +02:00
Ida Massow
0b252810c9 Keine Fehler mehr, sorry für das davor
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@250 72836036-5685-4462-b002-a69064685172
2011-05-18 15:31:37 +02:00
Ida Massow
b3c903a2ad GameState ist jetzt RoundState
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@249 72836036-5685-4462-b002-a69064685172
2011-05-18 15:25:26 +02:00
Ida Massow
d0a7014577 Anfang von rauskommen im Player gebaut, test angefangen
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@248 72836036-5685-4462-b002-a69064685172
2011-05-16 22:46:43 +02:00
604ef91282 Fix dealing stones for more than 2 rows
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@244 72836036-5685-4462-b002-a69064685172
2011-05-16 22:01:02 +02:00
Ida Massow
57227570fe Fix Cyclomatic Complexity in classify (Qualtitätsmanagement rules!)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@243 72836036-5685-4462-b002-a69064685172
2011-05-16 21:02:58 +02:00
Ida Massow
f7aace7234 Tests und imlementierung für Wert von Sets bestimmen, fertig und getestet
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@242 72836036-5685-4462-b002-a69064685172
2011-05-16 20:54:37 +02:00
Jannis Harder
be4b1b4120 Implemented new hand wrapping
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@240 72836036-5685-4462-b002-a69064685172
2011-05-16 19:07:47 +02:00
f7f47d0072 Fix rounding errors leading to stone sets being dropped at strage positions on the table
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@238 72836036-5685-4462-b002-a69064685172
2011-05-11 20:49:20 +02:00
Ida Massow
670fcf2613 docs fertig und vorher repariert
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@232 72836036-5685-4462-b002-a69064685172
2011-05-10 16:59:40 +02:00
Ida Massow
22a221cb9d StoneSet hat andere Exception
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@230 72836036-5685-4462-b002-a69064685172
2011-05-10 16:55:25 +02:00
85b5470c05 Remove return value of Table.pickUpStone()
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@229 72836036-5685-4462-b002-a69064685172
2011-05-10 16:53:44 +02:00
Ida Massow
982c2e6e2b Rechtschreibfehler und überflüssige pickUp(position) Klasse gefixt
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@227 72836036-5685-4462-b002-a69064685172
2011-05-10 16:31:09 +02:00
32d07341a5 Define hand size constants in model
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@225 72836036-5685-4462-b002-a69064685172
2011-05-10 05:53:30 +02:00
Bennet Gerlach
1f799ad15e Fixed mloc in stone tray
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@215 72836036-5685-4462-b002-a69064685172
2011-05-10 04:02:46 +02:00
Jannis Harder
3b49b2053e Added all missing comments
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@213 72836036-5685-4462-b002-a69064685172
2011-05-10 03:54:48 +02:00
4a860e53cf Set correct player names :)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@212 72836036-5685-4462-b002-a69064685172
2011-05-10 03:37:34 +02:00
Bennet Gerlach
b14a707d4f Added toString and equals tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@210 72836036-5685-4462-b002-a69064685172
2011-05-10 02:42:31 +02:00
Jannis Harder
c9eb1cbdb8 Fixed regression in StoneTray tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@207 72836036-5685-4462-b002-a69064685172
2011-05-10 01:39:33 +02:00
Jannis Harder
ce982fcdaf Tests for dropping on hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@206 72836036-5685-4462-b002-a69064685172
2011-05-10 01:39:32 +02:00
Bennet Gerlach
8e73d1ab37 Implemented positioning of stones on hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@202 72836036-5685-4462-b002-a69064685172
2011-05-09 23:29:01 +02:00
Bennet Gerlach
5b0aed8fd0 Fix drop position calculations
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@199 72836036-5685-4462-b002-a69064685172
2011-05-09 21:56:45 +02:00
Bennet Gerlach
5767486e83 Test simple dropping on Hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@198 72836036-5685-4462-b002-a69064685172
2011-05-09 21:56:29 +02:00
Jannis Harder
fffca3fe9a Fixed the 12-12-7 bug
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@193 72836036-5685-4462-b002-a69064685172
2011-05-09 20:27:48 +02:00
1f05ab9328 Fixed some positioning issues
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@183 72836036-5685-4462-b002-a69064685172
2011-05-09 04:41:59 +02:00
b86571cf83 Allow laying out stone sets
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@180 72836036-5685-4462-b002-a69064685172
2011-05-09 00:33:34 +02:00
b9fbe279c3 Another fix for the Table pickUpStone method
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@179 72836036-5685-4462-b002-a69064685172
2011-05-09 00:33:31 +02:00
b57a2d5090 Allow calling pickUpStone for nonexistant stones
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@178 72836036-5685-4462-b002-a69064685172
2011-05-09 00:33:30 +02:00
3a2c0638e3 Make Table.pickUpStone return the the stone sets that are created
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@171 72836036-5685-4462-b002-a69064685172
2011-05-08 18:45:32 +02:00
Ida Massow
82c58a1eae getPlayer entfernt, weil es getNthNextPlayer gibt. Warnings beseitigt.
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@170 72836036-5685-4462-b002-a69064685172
2011-05-08 18:10:07 +02:00
38f6f0dc24 Add some endOfTurn handling to RoundControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@155 72836036-5685-4462-b002-a69064685172
2011-05-05 21:13:59 +02:00
b1fd03e366 Show player name labels
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@146 72836036-5685-4462-b002-a69064685172
2011-05-05 17:14:34 +02:00
63ffedd7b0 Add name to player model
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@145 72836036-5685-4462-b002-a69064685172
2011-05-05 16:56:35 +02:00