Commit graph

378 commits

Author SHA1 Message Date
af3661fea0 Always operate on cloned hands in the turn controls
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@380 72836036-5685-4462-b002-a69064685172
2011-06-07 00:23:00 +02:00
c59332950b Add menu bar and make quit item work
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@379 72836036-5685-4462-b002-a69064685172
2011-06-06 23:27:33 +02:00
Ida Massow
682357b584 Double ist das neue float
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@377 72836036-5685-4462-b002-a69064685172
2011-06-06 19:53:45 +02:00
41786cb842 Finished UML
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@376 72836036-5685-4462-b002-a69064685172
2011-06-01 02:17:21 +02:00
Bennet Gerlach
42926fe2c9 Boolean to boolean in HumanTurnControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@375 72836036-5685-4462-b002-a69064685172
2011-06-01 02:07:29 +02:00
Bennet Gerlach
b027b1c1dd startTime in BaseAIControl is now private
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@374 72836036-5685-4462-b002-a69064685172
2011-06-01 02:01:07 +02:00
Bennet Gerlach
e5ef5c3e75 Changed Event to IEvent in AbstractTurnControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@373 72836036-5685-4462-b002-a69064685172
2011-06-01 01:25:09 +02:00
Bennet Gerlach
561409f0d9 Abstract turn control has player, doesn't need hand
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@372 72836036-5685-4462-b002-a69064685172
2011-06-01 01:16:42 +02:00
257ce0ba95 More UML updates
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@371 72836036-5685-4462-b002-a69064685172
2011-05-31 23:57:20 +02:00
c7a3c9fa4c More visibilty fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@370 72836036-5685-4462-b002-a69064685172
2011-05-31 23:57:19 +02:00
996892670d AIUtil: Fix attribute visibility
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@369 72836036-5685-4462-b002-a69064685172
2011-05-31 23:57:17 +02:00
Bennet Gerlach
f343e6dc5e Tested BaseAIControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@368 72836036-5685-4462-b002-a69064685172
2011-05-31 23:32:39 +02:00
Jannis Harder
3507bb016a Smaller sequence diagrams
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@367 72836036-5685-4462-b002-a69064685172
2011-05-31 23:20:28 +02:00
35f435fa9c Just a cosmetic fix
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@366 72836036-5685-4462-b002-a69064685172
2011-05-31 22:20:02 +02:00
bbc65e7e68 Updated UML
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@365 72836036-5685-4462-b002-a69064685172
2011-05-31 22:17:56 +02:00
Ida Massow
63192810a3 kleine fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@364 72836036-5685-4462-b002-a69064685172
2011-05-31 22:06:23 +02:00
Jannis Harder
d7aba3d722 Added tests for Pair class
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@363 72836036-5685-4462-b002-a69064685172
2011-05-31 21:50:57 +02:00
Jannis Harder
943503be50 Removed unused import
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@362 72836036-5685-4462-b002-a69064685172
2011-05-31 21:33:42 +02:00
Jannis Harder
56dc0f99b1 Fixed metrics in AIUtil
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@361 72836036-5685-4462-b002-a69064685172
2011-05-31 21:29:27 +02:00
Ida Massow
2e819f352b PlayerSettings haben nur och eine Konstruktor, der auch sinnvolle Sachen macht
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@360 72836036-5685-4462-b002-a69064685172
2011-05-31 21:02:35 +02:00
Ida Massow
6bc5405bbf Mini-Korrektur
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@359 72836036-5685-4462-b002-a69064685172
2011-05-31 21:02:32 +02:00
Bennet Gerlach
640a1e0fb6 Metric fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@358 72836036-5685-4462-b002-a69064685172
2011-05-31 20:42:46 +02:00
Ida Massow
6319ec8ab6 UML Control Klassendiagram weiter, aber noch nicht fertig
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@357 72836036-5685-4462-b002-a69064685172
2011-05-31 19:55:59 +02:00
4cd6f7df74 Change an Integer to int, for the sake of consistency
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@356 72836036-5685-4462-b002-a69064685172
2011-05-31 19:21:35 +02:00
Jannis Harder
807a9ac692 Added new sequence diagrams
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@355 72836036-5685-4462-b002-a69064685172
2011-05-31 19:04:22 +02:00
bc04d21afb View: Refactor bottom panel display
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@354 72836036-5685-4462-b002-a69064685172
2011-05-31 18:25:47 +02:00
03b3bf2340 Limit font size on redeal button etc.
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@353 72836036-5685-4462-b002-a69064685172
2011-05-31 18:25:45 +02:00
Bennet Gerlach
ca0696d40c Fixed clone() in MockTable to match checkTurnStartSetUp()
in RoundControlTest

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@352 72836036-5685-4462-b002-a69064685172
2011-05-31 18:25:36 +02:00
Ida Massow
c3b4eef14c Fixed all warnings (comments) but one, one TODO important
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@351 72836036-5685-4462-b002-a69064685172
2011-05-31 15:29:37 +02:00
Jannis Harder
f1abd1b564 Some AI fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@350 72836036-5685-4462-b002-a69064685172
2011-05-31 05:34:24 +02:00
c1651e5317 Re-add small margins
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@349 72836036-5685-4462-b002-a69064685172
2011-05-31 05:06:28 +02:00
Bennet Gerlach
4913a5b5fb Fix AI initially melding in inspect turn
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@348 72836036-5685-4462-b002-a69064685172
2011-05-31 05:04:28 +02:00
0e9bf5c52d Remove color toggle button margins
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@347 72836036-5685-4462-b002-a69064685172
2011-05-31 05:00:22 +02:00
Bennet Gerlach
061e7ab305 Base AI is now able to meld initially properly
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@346 72836036-5685-4462-b002-a69064685172
2011-05-31 04:56:09 +02:00
58d58c0c07 Don't throw exceptions on infinitesimal window sizes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@345 72836036-5685-4462-b002-a69064685172
2011-05-31 04:52:26 +02:00
66b4094d17 Add bling
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@344 72836036-5685-4462-b002-a69064685172
2011-05-31 04:45:28 +02:00
98f3e09d98 Updated UML
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@343 72836036-5685-4462-b002-a69064685172
2011-05-31 04:25:05 +02:00
Bennet Gerlach
d276b03c39 AIUtil now needs game settings, both hand and player do not anymore
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@342 72836036-5685-4462-b002-a69064685172
2011-05-31 03:45:32 +02:00
Bennet Gerlach
278edc37a9 findSetsWithTotalPoints now finds sets (and total points)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@341 72836036-5685-4462-b002-a69064685172
2011-05-31 03:45:21 +02:00
eea3cb2188 Don't show last player when a round has ended
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@340 72836036-5685-4462-b002-a69064685172
2011-05-31 03:11:29 +02:00
acc7d3f11f HumanTurnControl: Fix method length
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@339 72836036-5685-4462-b002-a69064685172
2011-05-31 03:04:22 +02:00
25c6383c73 Allow setting stone colors to use
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@338 72836036-5685-4462-b002-a69064685172
2011-05-31 03:02:31 +02:00
c004a07a42 Make highest value and number of stones dealt settable
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@337 72836036-5685-4462-b002-a69064685172
2011-05-31 01:50:56 +02:00
c78e8e6448 StonePainter: Paint stones lazily
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@336 72836036-5685-4462-b002-a69064685172
2011-05-31 01:50:54 +02:00
Ida Massow
2e24ee3e7f Man kann im Model bestimmen, wie viele Steine gegeben werden. Test geht auch
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@335 72836036-5685-4462-b002-a69064685172
2011-05-31 00:58:50 +02:00
Ida Massow
489e7858e7 Test für mehr Steine geben
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@334 72836036-5685-4462-b002-a69064685172
2011-05-31 00:58:49 +02:00
Ida Massow
0cb36fb752 Man kann viele FAreben benutzen, alle Test laufen. Man kann auch Karten bis Wert X größer oder kleiner 13 nehmen. Alles nur im Model, aber getestet und toll
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@333 72836036-5685-4462-b002-a69064685172
2011-05-31 00:58:48 +02:00
Ida Massow
f22ff5f0f1 Tests für Sets mit mehr Farben, mehr Values, ...
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@332 72836036-5685-4462-b002-a69064685172
2011-05-31 00:58:46 +02:00
Jannis Harder
d66d73ea8f Fixed out of stones rules
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@331 72836036-5685-4462-b002-a69064685172
2011-05-30 21:04:43 +02:00
Bennet Gerlach
d25a73167c Extracted a AIUtil class from several hand methods
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@330 72836036-5685-4462-b002-a69064685172
2011-05-30 21:01:48 +02:00