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

Поделиться
HTML-код
  • Опубликовано: 24 авг 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