2 ms·
Cool! Mine sweeper is a really fun easy game to implement. I did a version in Python a few years ago: https://github.com/igor47/sweeper https://github.com/igor4
by igor47 2y ago
Cool! Mine sweeper is a really fun easy game to implement. I did a version in Python a few years ago: https://github.com/igor47/sweeper https://github.com/igor47/sweeper but mine is closer to 500 lines
- darthg0d 2y agoDitto. I did the same with GoLang a couple of years back, but didn't aim for clean/terse code: https://github.com/jedib0t/go-mines https://github.com/jedib0t/go-mines
- BogdanOlar 2y agoSame, in Rust, just as an exercise to get familiar with GUIs. So I ended implementing it twice, once with `iced`: https://github.com/BogdanOlar/iced-minesweep-rs https://github.com/BogdanOlar/iced-minesweep-rs , and with `egui`: https://github.com/BogdanOlar/egui-minesweep-rs https://github.com/BogdanOlar/egui-minesweep-rs , using the common `minefield-rs` library: https://github.com/BogdanOlar/minefield-rs https://github.com/BogdanOlar/minefield-rs It's a really fun exercise, and a good way to practice new skills. Highly recommend it.