Rustymines - a reworked mine sweeping game API with front-ends

One of my earliest Rust projects is rustymines, which I intially wrote as a standalone console game to get familiar with the Rust language.

This weekend I thought I’d polish it up a bit and split off the core game logic into an engine and outsource the actual command line game into a separate crate.

This split also allowed me to implement another game front-end, namely a web application, where the actual game runs server-side. This allows for the website to be entirely JavaScript-free. :partying_face:

The web version is still very raw and I plan to improve on user identification other than by IP address.

In case you’re interested to play it, you can try it out here.

I’d appreciate any feedback on the game engine, its API and both the console and web game implementations.

2 Likes

It's a great little game - I came across another implementation recently - Sir David MacKay used it as an example in his book on information theory (recommended).

You can find his version here. It's in tcl, and a couple of decades old, but still works - on a mac you can brew install the interpreter (wish) if it's not there already.

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.