Skip to content

Eizeed/minesweeper_godot-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💣Minesweeper💣

For what?

This repo exists to help people who want to commit into gamedev on rust.
It is not rust native game engine as I'm using godot-rust here, but i didn't find any better option.

godot-rust provides really bare minimum for creating something and
a lot of things are not documented at all. I don't blame them.
At the end of the day it's community driven and I'm really happy to be part of it.

For this reason I created this repo. There are a lot of comments on things that were confusing to me or lacking docs.
That should be enough to understand how this game works from start to finish without any problems.
Project itself wasn't really hard, but I learned a lot coding it.
Hope it will help you as well😊

Features

Flags system

Based mechanic of minesweeper. Implemented like in most games of this type

Scaling formula for grid generation

Grid size and mines amount are scaled with difficulty level where 0 - easy, 1 - medium, 2 - hard.
For now it doesn't matter i'd say, but if you want to add more levels, it would be handy

Score system

Exponential-based formula to earn score based on time spent.

How to play?

You need to build dynamic library of code I provided with: `cargo build`
And after this you can preview or export the game with godot

Todo

  • fix UI (probably will never happen cuz i suck in UI)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages