GithubHelp home page GithubHelp logo

roddyrap / hexasweeper Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 192.5 MB

A hex grid version of minesweeper I made. Hosted on Kongregate.

Home Page: https://www.kongregate.com/games/Roddy142/hexasweeper

C# 90.51% ShaderLab 6.50% HLSL 0.77% HTML 0.92% JavaScript 0.10% CSS 0.14% GLSL 1.05%
minesweeper unity kongregate csharp

hexasweeper's Introduction

Logo Hexagonal MineSweeper

Link to the game

Controls

Zoom with the scroll wheel or the + and - keys.
Move the board with the arrows or the WASD keys.
Left clicking on tiles reveals whats under them.
Right clicking on tiles sets flags on them.
Middle clicking (clicking on the scroll wheel) on a tile with the same amount of adjacent flags as bombs nearby will reveal all tiles near it that aren't flagged. Including bombs if the adjacent flags were placed incorrectly.

Rules:

The goal of Minesweeper is to uncover all the tiles on a grid that do not contain mines without being "blown up" by clicking on a tile with a mine underneath.
Bombs:
Tile with 2 bombs near Tile with 2 bombs near
Example of a won game:
Image of a won game
The location of most mines is discovered through a logical process, but some require guessing, usually with a 50-50 chance of being correct.

Clicking on a tile will reveal what is hidden underneath it. If a tile has no bombs near it (marked as a tile without a number when revealed) all adjacent tiles to it will also automatically be revealed. This can trigger a chain reaction of empty tiles that are being revealed together. other tiles contain numbers (from 1 to 6), with each number being the number of mines adjacent to the uncovered tile.
Tile with 0 bombs near Tile with 1 bomb near Tile with 2 bombs near Tile with 3 bombs near Tile with 4 bombs near Tile with 5 bombs near Tile with 6 bombs near

To help the player avoid hitting a mine, the location of a suspected mine can be marked by flagging it with the right mouse button.
Flagged Tile
The game is won once all blank or numbered squares have been uncovered by the player and all mines were flagged.

The game board comes in three set sizes with a predetermined number of mines: "beginner", "intermediate", and "expert".

Note: If you have no access to a proper mouse, clicking on the logo in the screen of the game would allow every button to function like a middle button when clicking on a revealed tile.

hexasweeper's People

Contributors

roddyrap avatar

Stargazers

 avatar

Watchers

 avatar  avatar

hexasweeper's Issues

Canvas at fixed size

Make it so the canvas can adjust its size, and that the ratio will be the thing that's fixed (instead of both).

Make movement slower on higher zoom levels

Currently, movement speed across the board seems to be independent of current zoom level.
The problem is that on high zoom levels, this movement speed is too high.
In addition, any suitable movement speed on high zoom levels would be too slow on low ones.
Therefore, I suggest that movement speed will depend on current zoom level such that the portion of the screen that is moved per unit time is constant.

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.