Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://jumbledfox.github.io/minesweeper/
https://jumbledfox.github.io/minesweeper/
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://jumbledfox.github.io/minesweeper/
- Owner: jumbledFox
- License: other
- Created: 2024-02-25T16:22:24.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-05-22T13:23:18.000Z (6 months ago)
- Last Synced: 2024-05-22T14:42:00.115Z (6 months ago)
- Language: Rust
- Size: 6.38 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-quads - Minesweeper - a cute Minesweeper game with a custom immediate-mode GUI. (Games / Games: On top of macroquad)
README
# Minesweeper
This is a little minesweeper game that I've been working on, written in Rust using the [Macroquad](https://github.com/not-fl3/macroquad) framework.
There's a web build, plus some lovely juicy details about how some of it works, on [my website](https://jumbledfox.github.io/minesweeper)!## Controls
|Action|Control|
|--|--|
|Dig|Left click|
|Flag|Right click|
|Chord|Middle click, or Right+Left click|## Info
It's built on top of my own implementation of an immediate-mode GUI. It isn't the most efficient, but it works very well for my purposes. Casey Muratori's [talk on this subject](https://youtu.be/Z1qyvQsjK5Y) was invaluable to me when implementing my own!Below you can see some of the GUI, namely the menubar and a popup window.
There's a very cool circular explosion effect which I'm quite proud of.
(this would've been SO much nicer as an mp4 file, i.e. improved video quality, smaller file size, and sound, but silly github doesn't like putting videos in markdown files for some reason!!!)You can also make custom games!
## Credits
Macroquad - [not-fl3](https://github.com/not-fl3/macroquad)
WASM build script ([build_wasm.sh](build_wasm.sh)) - [Tom Solberg (and more!)](https://gist.github.com/nicolas-sabbatini/8af10dddc96be76d2bf24fc671131add)
MP4 to GIF script - [troyane](https://gist.github.com/troyane/af2a43a9eecda6d3de7729154cc4fe5e)
Explosion sound - [AyeDrevis](https://freesound.org/people/AyaDrevis/sounds/649191/)
Lowercase character 'e' - [04b03](https://www.dafont.com/04b-03.font)Everything else made by me, [jumbledFox](https://jumbledfox.github.io) :3