Algorithm Improvement
I'm sure you're getting a lot of complaints about how one-sided your algorithm is not being impartial and often times screwing over players with land draws that should not be happening in a purely random sample - so my complaint can be added to that pile.
But, an idea for changing the algorithm to improve randomization would be having the program assign a number to each card remaining in a deck and pile shuffling the cards into X amount of piles (let's say 6). It can repeat this process Y amount of times then take the middle of the pile and put those cards on top. A better template would be from the card shuffler for poker sets from stores.
-
Screenshot_20240610-124913.png 1955 KB -
Screenshot_20240610-124925.png 2544 KB -
Screenshot_20240607-112339_Gallery.jpg 431 KB -
Screenshot_20240527-142312.png 1854 KB -
Screenshot_20240527-142521.png 1852 KB -
WHAT THE HELL.jpg 119 KB -
cant-be.jpg 223 KB -
Screen 2.JPG 286 KB -
Screen 1.JPG 181 KB -
BS Lands.png 3906 KB -
IMG_0138.png 7889 KB -
Log20240324_222223.log 10925 KB -
Screenshot (6).png 3846 KB -
Screenshot (5).png 3553 KB -
Screenshot (4).png 3460 KB -
Log20240215_120905.log 43967 KB -
Log20240215_120905.log 43967 KB -
Screenshot_20240131_122750_Magic.jpg 1228 KB -
Screenshot_2024-01-09-11-27-21-65_0d1fccac8b78e37cdc1dccf8a6bd9734.jpg 1426 KB -
Capture.PNG 96 KB -
MTGA 1_8_2024 2_50_36 AM.png 6234 KB -
MTGA 1_8_2024 2_37_18 AM.png 8795 KB -
Log20240108_023749.log 237 KB -
Log20231216_111218.log 39774 KB -
Log20231119_150216.log 135 KB -
image_2023-11-09_153846124.png 1726 KB -
shit shuffler and resource destruction.png 2073 KB -
UTC_Log - 10-29-2023 07.01.59.log 9462 KB -
draw after that.png 861 KB -
this is why your game sucks.png 850 KB -
Log20231019_190627.log 32 KB -
image_2023-10-17_193618112.png 2312 KB -
Screenshot_20231016-073005.png 2222 KB -
Screenshot_20231016-073057.png 2131 KB -
Screenshot_20231016-073041.png 2090 KB -
Screenshot_20231016-073203.png 1081 KB -
Screenshot_20231010-222137.png 2191 KB -
IMG_3827.png 6205 KB -
IMG_3830.jpeg 438 KB -
IMG_3829.jpeg 471 KB -
IMG_3828.jpeg 434 KB -
whats wrong with this picture wizards.png 1205 KB -
turn 7.png 1157 KB -
Log20230921_181919.log 79 KB -
Screenshot 2023-09-21 at 6.18.39 PM.png 8922 KB -
20230910_120436.jpg 0 KB -
20230830_223020.jpg 0 KB -
20230830_221449.jpg 0 KB -
20230830_221305.jpg 0 KB -
20230830_220515.jpg 0 KB -
20230830_145340.jpg 0 KB -
20230829_143404.jpg 0 KB -
20230829_143305[1].jpg 5198 KB -
image_2023-09-07_212539628.png 1416 KB -
MTGA2.PNG 2873 KB -
MTGA.PNG 4591 KB -
bullshit algorithm.png 1302 KB -
Second mull.png 1342 KB -
3rd mull.png 1184 KB -
5th game like this and i have optimal lands.png 1040 KB -
draw.PNG 134 KB -
fix your fucking game.png 2781 KB -
fix your game already.png 1391 KB -
IMG_2120.png 8684 KB -
bullshit mulligan rules.png 900 KB -
tell me your algo sucks.png 854 KB -
1692045296548-1.JPEG 170 KB -
Screenshot_20230812_094952_Magic.jpg 1210 KB -
Screenshot_20230810_222931_Magic.jpg 1281 KB -
and this.png 1428 KB -
cancer.png 989 KB -
explain this.png 1153 KB -
explain this wizardtards.png 882 KB -
bullshit.png 1898 KB -
Cancer2.png 1860 KB -
cancer.png 1419 KB -
IMG_0633.png 8749 KB -
IMG_0632.png 7489 KB -
IMG_0631.png 7524 KB -
fix your dumb game.png 2469 KB -
fix your shuffler.png 528 KB -
Log20230715_082937.log 11211 KB -
3BA76B44-6F49-456A-9E8E-6A156825FA58.png 8450 KB -
18DF26FC-C31C-4D94-8DC7-D0E71F598D59.png 8060 KB -
5F434AB9-5892-4A05-AF8E-6D514EC3EBBA.png 8084 KB -
Log20230625_154123.log 55 KB -
IMG_0150.png 5061 KB -
IMG_0148.png 4829 KB -
IMG_0149.png 1869 KB -
Matchmaking not working in Brawl6.jpg 668 KB -
Matchmaking not working in Brawl5.jpg 598 KB -
Matchmaking not working in Brawl4.jpg 552 KB -
Matchmaking not working in Brawl3.jpg 596 KB -
Matchmaking not working in Brawl2.jpg 565 KB -
Matchmaking not working in Brawl1.jpg 654 KB -
Matchmaking not working in Brawl9.jpg 557 KB -
Matchmaking not working in Brawl8.jpg 605 KB -
Matchmaking not working in Brawl7.jpg 527 KB -
21機会で土地2枚(土地割合28/80).png 1712 KB -
Log20230415_203925.log 390 KB -
UTC_Log - 04-09-2023 20.42.33.log 40817 KB -
2.jpg 1418 KB -
3.jpg 1355 KB -
5.jpg 1511 KB -
4.jpg 1316 KB -
1.jpg 1302 KB -
Log20230405_151758.log 24104 KB -
2.jpg 1418 KB -
4.jpg 1316 KB -
3.jpg 1355 KB -
5.jpg 1511 KB -
1.jpg 1302 KB -
Log20230320_064436.log 25029 KB -
D772DA3B-B7C2-44A6-92F3-3A9B8E0E622C.png 7090 KB -
Log20230312_111055.log 53 KB -
C5639E2A-87DF-43E0-BF68-86266D422C16.png 7776 KB -
Log20230308_145416.log 224 KB -
Log20230308_145206.log 223 KB -
Log20230308_145125.log 223 KB -
Log20230308_145041.log 223 KB -
Log20230308_150641.log 269 KB -
Log20230306_204335.log 93 KB -
Log20230306_204335.log 93 KB -
Log20230218_082637.log 11114 KB -
error arena.jpg 631 KB -
Log20230214_210324.log 128 KB -
Log20230213_182535.log 125 KB -
IMG_0027.jpg 1013 KB -
IMG_0029.jpg 925 KB -
IMG_0016.jpg 885 KB -
Screenshot 2023-01-30 at 1.38.42 PM.png 3546 KB -
Log20230115_233637.log 118 KB -
Log20221230_163502.log 22 KB -
Schermata 2022-12-18 alle 11.54.36.png 9894 KB -
Log20221218_115607.log 264 KB -
Log20221218_115553.log 264 KB -
Log20221217_143052.log 43 KB -
log.log 20235 KB -
Screen Shot 2022-12-09 at 20.49.05.png 6034 KB -
Screen Shot 2022-12-09 at 20.27.43.png 6282 KB -
Hasbro-Executive.png 484 KB -
Log20221129_115210.log 11511 KB -
Screenshot (61).png 2616 KB -
Log20221116_150821.log 222 KB -
Log20221012_103812.log 37 KB -
Log20221013_162401.log 8 KB -
Log20221011_185937.log 23145 KB -
Log20221005_201039.log 6005 KB -
Screenshot 2022-09-20 010530.jpg 11 KB -
Log20220904_144214.log 2490 KB -
Log20220823_113059.log 38 KB -
Log20220805_202829.log 21 KB -
bullshit.png 3229 KB -
bullshit2.0.jpg 41 KB -
Screenshot_2022-07-18-07-34-18-91_0d1fccac8b78e37cdc1dccf8a6bd9734.jpg 1427 KB -
Screenshot_2022-07-18-07-31-07-65_0d1fccac8b78e37cdc1dccf8a6bd9734.jpg 1379 KB -
Screenshot_2022-07-18-07-54-40-52_0d1fccac8b78e37cdc1dccf8a6bd9734.jpg 1379 KB -
Screenshot (3).png 4304 KB -
Screenshot (4).png 4193 KB -
Screenshot (2).png 5061 KB -
MTGA 27_06_2022 06_51_49 a. m..png 2120 KB -
Screenshot 2022-06-06 234559.png 356 KB -
Untitled drawing (1).png 1140 KB -
Untitled drawing (2).jpg 44 KB -
Log20220527_091110.log 14819 KB -
Log20220525_095310.log 12675 KB -
Thank you Wizards!.jpg 552 KB -
2 lands in 17 cards.jpg 527 KB -
Thank you Wizards!.jpg 552 KB -
2 lands in 17 cards.jpg 527 KB -
shufller is fine 5.jpg 527 KB -
shufller is fine 3, 3 lands in 16 cards.jpg 510 KB -
shufller is fine 2.jpg 473 KB -
shufller is fine 3, 3 lands in 15 cards.jpg 503 KB -
shufller is fine.jpg 440 KB -
shufller is fine 4.jpg 530 KB -
Screenshot_20220505-154301_Magic.jpg 1444 KB -
Screenshot_20220504-144021_Magic.jpg 1551 KB -
Screenshot_20220504-144033_Magic.jpg 1360 KB -
Log20220319_083435.log 62 KB -
Pairing Algorithm 01.png 4582 KB -
Pairing Algorithm 02.png 3411 KB -
Matchmaking.jpg 45 KB -
Log20220106_190437.log 72 KB -
ShareX_2021-11-24-06-07-23-574.png 40 KB -
Log20211002_231206.log 33 KB -
Screenshot_20210930-123116_Magic.jpg 1614 KB -
Log20210928_124854.log 121 KB -
Log20210801_112305.log 70 KB -
2021-04-01 (3).png 2328 KB -
quick_draft_gold.png 1868 KB -
quick_draft_plat.png 1842 KB -
Log20201228_223510.log 621 KB -
Log20201228_221503.log 587 KB -
UTC_Log - 08-14-2020 17.53.18.log 179 KB -
opponent-goes-first-1.png 2729 KB -
Log20200509_141030.log 3962 KB -
Log20200319_195414.log 532 KB
-
somsoc#29315
commented
They're relatively unlikely in single game terms but not exactly astronomical in Magic terms. They're probably happening to multiple people every second and these times it happened to you. It really only matters if you saw this literally every time. Otherwise variance being what it is, in a run of matches you might see it happen more often than not - and it will obviously be noticeable when it does.
The first screenshot for example, having three of a card in hand by T3, should happen nearly every 1/100 games (.90% on the play or 1.27% on the draw). If you play on average 2.5 games per match you might expect to see it happen more often than 1/40 matches. And then there's mulligans on top of that meaning you're seeing even more hands. How many games do you play a day? It's going to happen pretty often, certainly within recent memory. Also Magic players tend to have a better ability to remember these things than others because the game itself trains us to recall these sort of things!
I don't think rand() being called in quick succession matters because you're generating a value from probably the floating memory and it changes far too fast. As in clock speed and not the ms it takes for the shuffle process to loop around and generate the next value. Try this yourself, put rand() in an empty loop that simply records the seed that you're using each time. Also 101 of using rand() is to feed the random number back in (re-seeding), to avoid any potential problems. Most libraries do this by default. I would guess it's probably impossible to generate the same seed in a loop unless you're running at the hardware level, and even then, maybe not, given how fast memory is and how active the OS might be. Not to mention when you remove a card the index of its neighbour (and every subsequent card) changes. The shuffle is agnostic to what the cards represent.
Really it's just more noticeable and memorable when these kind of patterns happen, so even though you're also playing dozens or hundreds or matches after making changes to a deck where those cards don't appear or not in multiples, you don't remember those ones.
You can test this yourself simply by swapping cards out and note if you see them in the very first game. You'll have to gather quite a lot of data to check how often it really occurs (impossible amount for a single user, really), but you should at least be able to disprove that it's happening 'too much'.
-
caio1985#70751
commented
Hi,
The reason I'm reporting this is because I've seen this happening enough times.
Whenever I modify or create a new deck, including new cards. Those new cards often show up on my first hand (without Mulligan).
As you can see here in the screenshot there are multiple pairs of repeated cards that came on my first hand.
This happened to me certainly multiple times.
I'm a developer and I suspect that the shuffler algorithm is based on a random library that is probably problematic (ie. if rand() is called multiple times in a short period of time it might return almost the same index entry as almost all random libraries are time-based).
From a statistics perspective the chance to have such replicable problem is very very low.
Please double check your code and please improve it.
-
Headlice#77779
commented
I am suffering a disproportionate amount of non land draw. I am playing explorer with 24 lands in a standard 60 card deck. 7 out of 10 games i get 2 lands with no land draw until turn 3 or 4. there has to be something wrong mathematically or functionally in code for this to mathematically occur. Please review. It is not normal.
-
Huw Janus#50355
commented
Why is it every time I get to platinum my deck totally stops coming up?
I’ve been playing magic for 25 years and know what I’m doing. Suddenly my deck goes from having a good mix of mana and spells to completely useless draws of all mana or spells of a different colour to the mana I draw.
Appreciate a tough game but you are making the game feel like a scam. -
somsoc#29315
commented
"WHY are initial hands routinely short on mana (2 mana or less about 75% of the time - usually requiring at least 2 mulligans to get a reasonable starting mix)??"
Optimal deck design in most cases will find two or three lands in your starting hand, with two being much more likely. Having 33% mana is too high unless you're running a lands matter deck and you will indeed make flooding out far more likely.
Remember that '***** beats flood', it's far better to have too few lands than too many, because when you hit a land or two you'll have a hand full of spells to cast, versus relying on topdecks to cast maybe a single spell.
In 2+ colour deck if your opening hand is for example 2 lands of 2+ colours, that is a perfectly keepable hand. You're about 50% likely to hit 4 lands on T4 (less on the play, more on the draw).
-
timmy37#70997
commented
Please fix the shuffling algorithm. These type of games SHOULD NOT HAPPEN if a deck is shuffled amply. Its only 40 cards which makes the improbability even MORE unlikely.
-
timmy37#70997
commented
Please fix it. This shouldnt happen to a properlu shuffled deck of 40 cards.
-
MysticSquid#48745
commented
just curious as to how you justify a shuffler that gives completely impossible odds especially when it's supposed to be preventing mana screwing. Last 6 games I have been mana screwed and with my current deck the odds of that happening are approximately 5874 to 1, 6 games in a row it becomes approximately 2, 746,531, 668. My deck is 74 cards with about 85% geared to getting mana . So if you are not intentionally modifying the out comes of games maybe you should be eliminating the hand smoothing algorithm as it may give more lands in opening hand but becomes self defeating when you get flooded or screwed more often during the game. The only decks that benefit from this out come are mono aggro decks as they can usually function off the 2-3 lands at start while all other deck formats suffer. So in summary hand smoothing just doesn't work as intended and actually gives a deck archtype a huge and unfair advantage. What I want to know is what are you going to do to fix this situation as it really is not a good reflection of your company. If you guys want I have collected enough data I can prove just how broken hand smoothing is and why it needs to be removed from ranked play at least.
-
Guidance78#50312
commented
I know you will never remove it as your shuffler/game "balancing" system is perfectly designed to frustrate and reward just enough to keep people playing indefinitely. Psychology is king and after powering through and putting lots of money into the game, like many others I am ready to jump ship or play way less without ever investing a dime again.
Win-loss ratio is beyond perfect to keep people hooked and hopeful. It doesn't matter what decks I play or even how well or bad Iplay, win/loss balance will remain solidly in place. just enough progress to keep me going. Punish me a bit and when the algorithm believes I am ready to quit, give me some wins to keep me going.
Rinse repeat. I feel conned and cheated by a game I have loved for so many years I even owned a store and participated in all the events. So sorry this is so unreal and disappointing. It is worse than the casinos. -
Nightprowler#84435
commented
Table top player of 20 years and have never seen anything out of all my games as ridiculous as this clearly rigged system. I have won many tournaments and lost some as well. I do not mind losing games to skilled players and well built decks but im not staying around for the clear patterns of screwing us over to purposely loose due to this rigged system...The sad part is they do not even care that they are losing loyal customers who have supported them for years
-
2xzwei#80100
commented
So true. I go first 2 or 3 times out of 10 games. In contrast, I regularly had the situation to go second for over 15 games in a row. However, I never could go first for 15 games; max 2 or 3 times I went first, then a loooooong time second again. It’s definitely not a 50:50 chance.
It’s also very strange that your opponent always has the perfect answer for every single card you play (non-ranked, random, and ranked). If you make them discard, they have “draw x, scry y”. If you kill their creature they have 1 mana open and play “hexproof” or “return to battlefield”. If you play a 5 mana card, they have a 1 mana counter but never played or discarded a counter before. If you kill their planeswalker, they have a second version in hand. If you kill that one too, a third one pops up…
Overall, 90% I lose. That’s 100% not relatable to the real card game.
I think if you pay for packs, avatars, diamonds, I am sure you will go first most of the time. Moreover, you always get the right cards to f**** up your opponent. If you play “for free”, just watch and be amazed how obvious it is that this game is completely faked (and pay-2-win). I did not spend a single cent, and I never will. Makers of MTGA have to understand that I was willing to pay money for a game that's fair. But in this setting I am not willing to pay money for a game that does not account for skill or a deck setup, but only money invested. -
Nomadd#34996
commented
That's also ALL I'm playing right now. I'm ******* losing my sanity, no matter what deck I pick - bang, counter. I picked a deck with ******* MIND FLAYER and first thing I play is deck with Mind Flayers.
FFS Wizards, have you ever played a card game in your life? Including, I don't know, YOUR OWN? Mirror matches are probably the most stupid, braindead things in card games and your ******* algorithm actually tries to find mirror matches. WTF is wrong with you people? -
Gogo von Vilt#11775
commented
Complete bullshite
-
Skunky Budtoker#00422
commented
Everyone is sick of the bs Wizards. Why can't you make this a fair game? Please drop the shuffle smoothing algorithm. We want a fair and random shuffle.
-
Massacheif1999#42279
commented
Im done I've waited too long for thing to be fixed im tired of the shuffler being broken despite countless attempts on many people pleaing to deaf ears. If you like a game where the devs don't listen this is the number one game for you. Had high hopes for the game
-
Snake-Eyes#13430
commented
Same exact deck, same exact problem. You'd think there wasn't any red mana in this deck
-
Snake-Eyes#13430
commented
More often than be coincidence in a multicolored deck I will receive Land of one color and playable cards of every other color. This has become especially problematic with your new multicolored deck emphasis in the latest expansion.
Most recently, in 4 turns I only drew white or green mana, or specifically red cards to play, when all of my starting land was also green or white.
Make it actually random or fix your algorithm, this is just ridiculous.
-
jyoiru#08323
commented
Come on wizards! Do not be lazy and spend some money to fix your shitty shuffler algorithm.
-
Devito90#16688
commented
Oh dang thats wild
-
some person
commented
I would like to have the same cheat codes that my opponent has for Limited.
They get their 3 colours flawlessly (playing basics) and I'm stuck playing mono red, despite that being my less dominate land (a 8 -- 9 split) which doesnt include the 2 spells that would have made it possible to play my nonred spells that were rotting in my hand.
I get this bloody variance is supposed to be a thing but its time to pick Limited by its bootstraps and vastly improve any kind of ***** situations. I dont expect to be clinging onto turn 7 with 5 mountains in play and a bunch of nonred spells in hand with thoughts of ‘wouldnt it be nice if any of my 11 sources of not red would show up’.
Like once upon a time, bears were playable but that isnt an option anymore. You saw how fast and furious Limited Midnight Hunt was. Miss a beat and you are dead upon arrival.
Maybe its time for WotC to consult some outsiders for how Limited should be. You have the digital client that you can run adjacent Limited with and people can actually play games than sitting on 2 lands while your opponent pops off and smashing their 3 bombs turn 4, 5 and 6 (while you have your 2 lands from your opening hand)