foul-magics/Mage.Common/src/main/java/mage
ssk97 c50e913398
Add Smoothed London Mulligan option (#10965)
* Add Smoothed London Mulligan (similar to but weaker than MTGA's)

* Make SmoothedLondonMulligan extend LondonMulligan instead of copying code

* modified to be have no effect within +1/-1 of the expected lands
fixed tests by always putting nonchosen hand on the bottom

* Inherit the primary mulligan logic as well, add comments

* Make drawHand public and part of Mulligan, use it on opening 7
use Card::isLand instead of reimplementing it, remove unused imports
Use standard spacing

* Better account for half-land MDFCs

* Don't count TDFCs as half-lands

* Remove "crossover_point" calculation to make algorithm clearer

* Genericize the tests, undo changed access that's no longer needed, unbox bool

* Use standard case in function naming

* Add Override

* Add mulligan type to TableView info, add tourneyMatchOptions local variable
2023-08-27 15:08:27 -04:00
..
cards Refactor: removed server side objects from a client side game's data (#10788) 2023-08-24 12:04:07 +04:00
components add missing Override annotations 2019-07-14 20:28:48 +02:00
constants
db program towards Interface rather than implementations 2020-02-10 10:40:06 +01:00
filters * Allow to addd hint texts to stack abilities. Swicthed to html text format for text box of stack abilites. 2020-07-02 00:53:46 +02:00
interfaces Draft stability improvements (#9435) 2022-09-25 17:33:16 -04:00
remote Tests: improved load test (added connection errors processing, fixed too long generated usernames, related to #10154); 2023-04-05 18:43:44 +04:00
utils Basic groundwork for extra decks (contraptions, attractions) (#10378) 2023-08-06 21:06:32 -04:00
view Add Smoothed London Mulligan option (#10965) 2023-08-27 15:08:27 -04:00