42

Interview task:
Win this game

Comments
  • 5
    Seems doable tbh
  • 19
    Wait people know how to actually play the game? Thought it was just click till you lose
  • 3
    @Stuxnet Every number tells you how many mines there are in the 8 squares around it. Easiest thing you can start with is to mark the corners that have 1s pointing at them - then you can reveal everything else.
  • 5
    @kamen I know lol was joking

    It did take a long time for me to learn tho. Used to just click whenever I was a kid
  • 4
    One with multiple unclear states would be better. I wonder if we qould make one version with a quantum computer so that the state of the board is random and unpredictable for real.
  • 1
    Duh, it isn't even hard. I'd love a quantum version though. Or one based on wfc algorithm.
  • 4
    Pro tip: if you have flags arranged correctly around a numbered cell, you can also click that to reveal more cells, and not guess as much
  • 3
    Oh I'd win this easily.
  • 1
    Im developing a similar puzzle game for IOs, without the mines and is about finding the root node which opens all the tiles. Heavily build on tree structures and left right child nodes. Unbalanced tree structure.
  • 1
    Wow what kind of interview it is, I want in.
  • 0
    Seems like i would get the job.
  • 2
    @Stuxnet Too assumptious of me, sorry. But then again, tons of people don't know how to play.
  • 0
    Can I look up how on stack overflow?
  • 0
    @linuxxx really.... But what about the 50-50 situations where it's just upto luck?
  • 0
    @billgates not so much certainty then, obviously ;)

    But I played this to death as a kid!
  • 1
    @linuxxx the good old days, grew up without internet. I feel sorry for nowadays kids
  • 0
    Give me source code
  • 0
    I never realized... But this is a nice case of constraint programming...

    *grabs his old syllabus*
Add Comment