Giter Site home page Giter Site logo

jumbledfox / minesweeper Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 0.0 18.32 MB

A cute minesweeper game written in Rust with the Macroquad framwork

Home Page: https://jumbledFox.github.io/minesweeper

License: Other

Rust 95.79% Shell 4.21%
gnu-agplv3 macroquad minesweeper pixel-art rust

minesweeper's Introduction

Minesweeper

This is a little minesweeper game that I've been working on, written in Rust using the Macroquad framework.

There's a web build, plus some lovely juicy details about how some of it works, on my website!

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 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
WASM build script (build_wasm.sh) - Tom Solberg (and more!)
MP4 to GIF script - troyane
Explosion sound - AyeDrevis
Lowercase character 'e' - 04b03

Everything else made by me, jumbledFox :3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.