Y
Hacker News
new
|
ask
|
show
|
jobs
by
igor47
693 days 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
but mine is closer to 500 lines
1 comments
darthg0d
693 days ago
Ditto. 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
link
BogdanOlar
692 days ago
Same, 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
, and with `egui`:
https://github.com/BogdanOlar/egui-minesweep-rs
, using the common `minefield-rs` library:
https://github.com/BogdanOlar/minefield-rs
It's a really fun exercise, and a good way to practice new skills. Highly recommend it.
link