Can ex-Google engineer code Minesweeper under 60 minutes in Angular 18?

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ส.ค. 2024

ความคิดเห็น • 7

  • @ryksy7744
    @ryksy7744 หลายเดือนก่อน

    Surprisingly fun video :D
    I think the win condition isnt just flagging all the mines its to reveal everything but the mines. So instead of doing all that correct mine count stuff I think you can just slap a win condition check like " if (unRevealedCount === bombCount) " somewhere :)

  • @moorsyjam
    @moorsyjam หลายเดือนก่อน +1

    It's always nice when things just work out as intended, like that search algorithm (inf loop notwithstanding). If you do plan to finish this off, the victory condition could be revealing all non-mines irrespective of whether the mines are flagged; would avoid user being able to flag everything.

  • @RogerioOliveira-iq4fv
    @RogerioOliveira-iq4fv หลายเดือนก่อน +3

    Honestly I don't understand why so many developers have this addiction to producing vast amounts of code in a such short period. They often tackle unreal problems, engaging in a competition that feels disconnected from reality and, frankly, pointless.

    • @regularswe
      @regularswe  หลายเดือนก่อน +12

      It's just a fun challenge. Speed running of some sorts.

    • @MynameisBrianZX
      @MynameisBrianZX หลายเดือนก่อน +3

      The second sentence describes most games in existence. This challenge is just a game to develop another game.

    • @AvANerd
      @AvANerd หลายเดือนก่อน

      what a shit take. This is a fun use of time for the developer, that's literally the point of life. Why are you on youtube? Watching videos is pointless