Minesweeper game where you only lose if the move is certainly wrong.

Overview

Non-deterministic Minesweeper

Tired of having to guess in a game of minesweeper? Worry no more!

This is a variation of Minesweeper game where you only lose if the move is certainly wrong! This turns the game into a 100% logic game with no luck involved, and makes any ratio of mine/free space playable. This is a screenshot of a game with 50% mines where I went pretty far:

game with 50% mines

It pretty much works, but there is still a few things to be done.

To do:

  • Display why the player lost. This is not trivial in the non-deterministic variant, as the game will have to prove it is impossible to find a mine configuration that leaves the field in a consistent configuration.

  • Obey the real probabilities of a given configuration to manifest. Right now, when commiting to a given mine configuration as the player opens new spaces, the chances are not consistent with uniform random distribution of mines.

  • Improve performance on the corner cases. This may not be always possible, as the problem of finding if there is a valid mine configuration for a given minesweeper field is NP-Hard. If you play normally as you would do in a normal minesweeper game, the problem is still easy enough that it does not interfere with the game play. But if you start doing crazy things, expect to wait many minutes of 100% CPU usage for your move to complete.

You might also like...
😠⚔️😈 A minimalistic 2D turn-based tactical game in Rust
😠⚔️😈 A minimalistic 2D turn-based tactical game in Rust

Zemeroth is a turn-based hexagonal tactical game written in Rust. Support: patreon.com/ozkriff News: @ozkriff on twitter | ozkriff.games | facebook |

⬡ Zone of Control is a hexagonal turn-based strategy game written in Rust. [DISCONTINUED]
⬡ Zone of Control is a hexagonal turn-based strategy game written in Rust. [DISCONTINUED]

Zone of Control The project is discontinued Sorry, friends. ZoC is discontinued. See https://ozkriff.github.io/2017-08-17--devlog.html Downloads Preco

This is a simple implementation of the classic snake game in rust
This is a simple implementation of the classic snake game in rust

My snake game Looks like this. This is with Roboto Mono Nerd Font. If you use a different font it may look different or distorted. Install rust In ord

The classic tetris game written in Rust using ncurses
The classic tetris game written in Rust using ncurses

tetris.rs This is the classic tetris game I wrote to have a bit of fun with Rust. Installation and playing cargo install --

A refreshingly simple data-driven game engine built in Rust

What is Bevy? Bevy is a refreshingly simple data-driven game engine built in Rust. It is free and open-source forever! WARNING Bevy is still in the ve

Data-oriented and data-driven game engine written in Rust
Data-oriented and data-driven game engine written in Rust

What is Amethyst? Amethyst is a data-driven and data-oriented game engine aiming to be fast and as configurable as possible. Principles These principl

Rust library to create a Good Game Easily

ggez What is this? ggez is a Rust library to create a Good Game Easily. The current version is 0.6.0-rc0. This is a RELEASE CANDIDATE version, which m

Rate my game setup 😜
Rate my game setup 😜

minesweeper.rs Rate my game setup 😜

Snake Game in rust for the web

About This template shows how to create a web app using Yew and wasm-pack. 🚴 Usage 🛠️ Build When building for the first time, ensure to install depe

Comments
  • Flags don't show

    Flags don't show

    Installed using Cargo from GitHub. Tried on Windows and Mac. Unless I'm playing the game wrong, when you right-click a tile it's considered to be flagged, however I don't see this. The tile remains unchanged, however you can't left click on it to reveal it, so I assume it's being flagged okay in the backend, just not displaying correctly.

    Let me know if there's any diagnostic information that'd be of use.

    Awesome project by the way, really interesting concept that fixes my biggest gripe with Minesweeper!

    opened by alpha-tango-kilo 3
Owner
Lucas Clemente Vella
Lucas Clemente Vella
A minesweeper game with a terminal and graphical interface

Mine A minesweeper game with a terminal and graphical interface created by Koen Westendorp. Installation Go ahead and try out for yourself! :) git clo

Koen Westendorp 3 Dec 22, 2022
It's minesweeper

Minesweeper rs DOWNLOAD Features Adjustable width and height Adjustable mine count (using percentage) Adjustable colours Timer Area highlighting when

Wait What 11 Nov 16, 2022
Fish Game for Macroquad is an online multiplayer game, created as a demonstration of Nakama, an open-source scalable game server, using Rust-lang and the Macroquad game engine.

Fish Game for Macroquad is an online multiplayer game, created as a demonstration of Nakama, an open-source scalable game server, using Rust-lang and the Macroquad game engine.

Heroic Labs 130 Dec 29, 2022
Mk48.io is an online multiplayer naval combat game, in which you take command of a ship and sail your way to victory

Mk48.io Game Mk48.io is an online multiplayer naval combat game, in which you take command of a ship and sail your way to victory. Watch out for torpe

Softbear Studios 160 Jan 2, 2023
The video game for Fonts of Power. A tabletop roleplaying game made in Rust with Bevy!

The code and rules for Fonts of Power, a tactical TTRPG / video game about exploring magical places. You can follow its development in our Discord ser

null 25 Dec 23, 2022
Red Light, Green Light is a traditional Korean children's game, popularised by the Squid Game TV series.

Red Light, Green Light Red Light, Green Light is a traditional Korean children's game, popularised by the Squid Game TV series. This project is the di

Cedric Chee 1 Jan 10, 2022
A game inspired by the classic atari game: demon attack

rusty_demon_attack A game inspired by the classic atari game: demon attack You can play the game in the web!

null 58 Jan 4, 2023
A work-in-progress, open-source, multi-player city simulation game.

Citybound is a city building game with a focus on realism, collaborative planning and simulation of microscopic details. It is independently developed

Citybound 7.2k Jan 3, 2023
A roguelike game in Rust

A fantasy deathcrawl in Rust Work in progress. To run, with Rust compiler and Cargo package manager installed: cargo run --release When building on W

Risto Saarelma 347 Nov 21, 2022
Extensible open world rogue like game with pixel art. Players can explore the wilderness and ruins.

Rusted Ruins Extensible open world rogue like game with pixel art. Players can explore the wilderness and ruins. This game is written in Rust. Screens

T. Okubo 427 Dec 13, 2022