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
![](https://secure.gravatar.com/avatar/5106b6ecce122bd716a304984e57a340?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Andurian#13092 commented
I built a mill deck, since I hadn't tried one in ages. In 20 games I played against three 80 card decks. In standard!
I have never seen a deck with more than 60 cards in standard since Yorion left.
I've encountered a billion other cases where I end up playing against cards that break my deck despite never seeing them with decks that they don't, but I figured it was just observer bias. I don't think seeing multiple oversized decks is observer bias.
-
Cavemantero#32906 commented
Cut the forced loss BS and rigged shuffler from your game. We know its there. It is not fun. It doesn't make us pay more money. It makes us want to quit the game and never come back. Also ban Ugin the Spirit Dragon from Explorer and any other stupid commander card you guys think should be there.
-
Rayhve commented
Land management is a weakness in this game : very boring when unable to play a game
-
2deff#23418 commented
For about 3 weeks now, your algorithms have been putting me at an absurdly overwhelming disadvantage. I only win when my opponent quits. Every game I am starved for mana, or draw nothing but lands. This happens in MtG, but it doesnt happen 75 games in a row.
This is not fun, and it will eventually kill your 'game'. You should be ashamed of yourselves for implementing a system that attempts to exploit your customers' weaknesses in a misguided effort to drive revenue.
Its not too late to treat your customers with the respect they deserve. If you choose to treat them, and your product with contempt, you will lose everything. This isnt some ominous threat, just stating the obvious.
-
MysticSquid#48745 commented
Seriously, do you guys not believe that your shuffler is broken? Hand smoothing is supposed to prevent/ minimize the chances of getting mana flooded or screwed during the draw, but it has created an environment where it's 700% more likely to cause screwing or flooded during the game. I have been running a tracker since before hand smoothing and I have been watching how your shuffler is evolving but since you brought hand smoothing in , it has degenerated where long time loyal customers are becoming so disillusioned with your company that they are walking away from MTG in all it's forms. I have been playing since beta came out, I have given your company hundreds of thousands of dollars, and I feel like you guys don't care about the fact that a very large percentage of your customer base is unhappy and it would be a super easy fix. Remove hand smoothing from ranked play and go back to the old shuffler. Some players may complain about 3 out of 10 games getting flooded or screwed but it sure beats the average of the 7 out of 10 games that seems to be happening now, you would vary the meta as mono aggro decks would no longer have an unfair advantage and over all would make a happier community. A happy community is more likely to spend money on something they enjoy where as if the community feels there is a problem and are being ignored then they most likely wont until they feel some satisfaction .
-
caio1985#70751 commented
Happened again today after I edited my monogreen deck. I will keep posting samples in this thread until someone fixes it. It is not possible that it is just a coincidence that the cards I add to the deck show up repeated in the first hand I draw.
-
Revan#51764 commented
I'm curious to know what kind of algorithm is in place to decide who goes first, frankly it's a bit insane to me that out of 17 games, only 2 did i go first. Surely there's a way to fix this
-
Marf#21975 commented
Is land drawing algorithm broken or something?
Drawing only lands (4 to 5 draw )
or no lands (4 to 5 draw ) -
hallowedghost#43243 commented
This needs fixed. I have had several matches now where I only draw land. If it persists I’m gonna be forced to delete the app because it’s making the game unplayable. Please fix the shuffling algorithm and have it mana weave better
-
Dragon#28070 commented
No way this is anywhere near to a 50/50 chance. And I am well aware, that randomness doesn´t necesseraliy mean the absence of patterns, but I have 3 years worth of playing arena logged into decktracker, where going 10 to 15 times second in a row are not seldom but nearly everyday buisness, while I cant remember a single time going first more than 5 or 6 times in a row and even this rarely happens.Mostly it´s go first once with a hand needing to mulligan down to 5 and than going second 4 to 5 times in a row with hands that probably would have won on the play, but are loosing on the draw. And even if this was really bad luck (for over three years now without any exception), it seems to be a problem causing unfair results for a lot of people. So why is wizards not taking any action against it? Print cards that reduce the disadvantage of going second or, since arena is digital anyway, implement a fair alternating system, so that in "best of one" you get to go first every other game. There would be no problem with that.
-
ボンジャミン#66956 commented
Regarding the fact that he didn't draw any mythic rares in 50 packs, he said, "Algorithms such as matchmaking, shuffle, and coin flip have been thoroughly tested and are definitely working as intended." Does that mean that I'm intentionally manipulating it so that I can't draw mythic rares? "
When I asked the question, it was resolved without a reply and was tolerated.It shouldn't be a manufacturer.
We will replace the staff who tolerate this and demand sound management.50パックで1枚も神話レアを引かなかったことに関して、「マッチメイキング、シャッフル、コインフリップなどのアルゴリズムは十分にテストされ、意図通りに機能していることは間違いありません。とおっしゃられこの結果になっているということは、意図して私が神話レアを引けないように操作しているということでよろしいのでしょうか?」
という質問をしたところ、返答もなく解決済みにされ黙認されました。メーカーとしてあってはならないことです。
これを黙認しているスタッフを入れ替え、健全な運営を求めます。 -
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.