Hacker News new | ask | show | jobs
by randomblast 600 days ago
You know how the distribution of 2-value vs 4-value for new tiles is a weighted random function? And sometimes you get an unlikely 4 that really screw you over? Have you thought about adding a mode which always creates the worst option of the 2?

You could call it “God does play dice with the universe. They're loaded and he hates you.”

3 comments

I think 2048-AI had this, but I’m not sure. It’d surely be pretty evil. Imagine it turning on randomly when it detects you’re going too fast :)
Someone forked 2048-AI and added evil mode :) https://sztupy.hu/2048-Hard/ Originating in the StackOverflow comments here https://stackoverflow.com/questions/22342854/what-is-the-opt...

BTW, congrats on the whole thing; what a ride. I remember staying up all night implementing the AI after seeing it here, and the rush of seeing it win the first time, plus the added rush of seeing the AI post right next to the original post on here. Thanks for the fun!

Like a Cambodian version of minesweeper.