Can ex-Google engineer code Minesweeper under 60 minutes in Angular 18?
In this video, I tried to code Minesweeper under an hour using Angular. Can I do it?
A game that uses DFS algorithm?
0:00 - Project explanation
4:39 - Minimum Viable Product
5:47 - Start Timer
1:04:10 - End Timer
Minesweeper Project
- Minimum Viable Product (MVP)
- Basic user interface
- Right click to mark mine
- Left click to reveal
- Show mine left count
- Show timer
- Restart button
Stretch Goals
- Right and Left (or middle mouse) click to reveal
- Select difficulty
- Store high score
- Custom grid
Пікірлер: 7
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 :)
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.
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
22 күн бұрын
It's just a fun challenge. Speed running of some sorts.
@MynameisBrianZX
22 күн бұрын
The second sentence describes most games in existence. This challenge is just a game to develop another game.
@AvANerd
22 күн бұрын
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