Commit graph

110 commits

Author SHA1 Message Date
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
Jannis Harder
102299d0ff Fixed invalid moves without laying out stones and cleaned up rule
checks

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@259 72836036-5685-4462-b002-a69064685172
2011-05-24 01:51:47 +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
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
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
46cf40c44f Test und implementierung von tableSetDifference, getestet und alles :-)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@246 72836036-5685-4462-b002-a69064685172
2011-05-16 22:24:11 +02:00
a4f5beb005 Move getHandPanel from IPlayerPanel to IView
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@245 72836036-5685-4462-b002-a69064685172
2011-05-16 22:09:56 +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
9ad7f0822e Add hand row controls to view
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@241 72836036-5685-4462-b002-a69064685172
2011-05-16 20:49:11 +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
8f47c06e31 Always collect on invalid range clicks
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@224 72836036-5685-4462-b002-a69064685172
2011-05-10 05:21:59 +02:00
978d618cc8 I shouldn't forget some files...
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@220 72836036-5685-4462-b002-a69064685172
2011-05-10 04:31:35 +02:00
Ida Massow
5df9b9cc4b Round Control letzter Kommentar
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@217 72836036-5685-4462-b002-a69064685172
2011-05-10 04:07:49 +02:00
Ida Massow
6e986232ff GameControl gecommented
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@216 72836036-5685-4462-b002-a69064685172
2011-05-10 04:05:52 +02:00
Bennet Gerlach
07e2388b95 Fixed method lines of code of TurnControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@214 72836036-5685-4462-b002-a69064685172
2011-05-10 03:55:58 +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
Ida Massow
a64492dc4b WinPanel funktioniert und ist getestet und überhaupt ist alles ganz toll
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@211 72836036-5685-4462-b002-a69064685172
2011-05-10 03:13:11 +02:00
Jannis Harder
201c40a399 Dropping of stones on hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@208 72836036-5685-4462-b002-a69064685172
2011-05-10 01:39:35 +02:00
56b75e037a Implement hand auto-sort
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@205 72836036-5685-4462-b002-a69064685172
2011-05-10 01:22:56 +02:00
8a3439f736 Ehhhhh... fix stone positions in the correct place.
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@204 72836036-5685-4462-b002-a69064685172
2011-05-10 00:34:43 +02:00
3338af2d43 Add tests for hand auto-sort
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@203 72836036-5685-4462-b002-a69064685172
2011-05-10 00:28:06 +02:00
Ida Massow
c5374de06f HAnd Range selection implementiert und getestet und funktioniert
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@197 72836036-5685-4462-b002-a69064685172
2011-05-09 21:55:18 +02:00
Ida Massow
050ae5f224 Angefangener Test für Hand-Steine-verschwinden-fix
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@194 72836036-5685-4462-b002-a69064685172
2011-05-09 20:54:17 +02:00
Jannis Harder
d05b93990f Implemented range selecting
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@191 72836036-5685-4462-b002-a69064685172
2011-05-09 20:15:19 +02:00
Ida Massow
3f8853b3e6 Solved conflicts
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@189 72836036-5685-4462-b002-a69064685172
2011-05-09 18:53:37 +02:00
Jannis Harder
f247b3666b Set select + collect on table
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@188 72836036-5685-4462-b002-a69064685172
2011-05-09 18:36:03 +02:00
Jannis Harder
38f4a5bb30 Deselecting whole collection
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@187 72836036-5685-4462-b002-a69064685172
2011-05-09 18:36:02 +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
Ida Massow
ec2936a034 Zwischencommit weil Ida so müde ist, eigentlich nichts passiert
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@177 72836036-5685-4462-b002-a69064685172
2011-05-08 22:46:31 +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
193e9247fa Add winning notification and fix test...
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@161 72836036-5685-4462-b002-a69064685172
2011-05-06 01:35:09 +02:00
55b19cef1d Add stone dealing to RoundControl and fix some tests... again.
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@160 72836036-5685-4462-b002-a69064685172
2011-05-05 23:29:07 +02:00
Bennet Gerlach
511b1139ea Added collection stone click
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@159 72836036-5685-4462-b002-a69064685172
2011-05-05 21:46:58 +02:00
Jannis Harder
776db0e4f7 Implemented deselecting on turn end
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@158 72836036-5685-4462-b002-a69064685172
2011-05-05 21:35:41 +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
Bennet Gerlach
0b66e7d763 Implemented stone clicking on hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@154 72836036-5685-4462-b002-a69064685172
2011-05-05 20:22:14 +02:00
Jannis Harder
8c65bafde4 Changed TurnControl to use Connections to remove listeners
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@153 72836036-5685-4462-b002-a69064685172
2011-05-05 19:56:47 +02:00
Jannis Harder
44ee94041a Added missing calls to startTurn
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@149 72836036-5685-4462-b002-a69064685172
2011-05-05 19:49:58 +02:00
Jannis Harder
8ad8432d85 Remove listener in turn control and have explicit turn start method
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@148 72836036-5685-4462-b002-a69064685172
2011-05-05 19:49:57 +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
7ee737f0d3 Implement tableDifference (and fix test...)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@144 72836036-5685-4462-b002-a69064685172
2011-05-05 16:48:17 +02:00
Ida Massow
f5075789fa Table Difference Test gebaut, anfang Implementierung round control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@143 72836036-5685-4462-b002-a69064685172
2011-05-05 15:57:13 +02:00
Bennet Gerlach
121afdf6c6 Implemented stone display in both controls, tested (weniger Mock-Mist)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@140 72836036-5685-4462-b002-a69064685172
2011-05-05 01:33:58 +02:00
Bennet Gerlach
bc827302d0 Show initial hand succeeds
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@136 72836036-5685-4462-b002-a69064685172
2011-05-05 00:19:02 +02:00