Giter Club home page Giter Club logo

sapper's Introduction

About
Sapper is a logic puzzle video game genre generally played on personal computers. The game features a grid of clickable squares(+), with hidden bombs scattered throughout the board. The objective is to clear the board without detonating any bombs, with help from clues about the number of neighboring mines in each field.

Abilities
Game has points and lifes

  • Points - you get the points after marking cell with bombs(key F)
  • Lifes - after getting the points aliquot by 8, your got +1 life. Your have unlimited marks for marking a cell, that in your opinion contain a bomb.

game

Game field
In my implementations your game field work on chunks. Where every chunk contain the 10 bombs. It is make possible generate huge field with a lot of chunks:

class GameModel : public stf::smv::BaseModel
{
public:
    /* Now field is present the square 5x5 chunks */
    static constexpr int Width  = 5;    // } \
                                        //     Change this value with your, if you need more chunks
    static constexpr int Height = Width;// } /
}

Information console
Also you have information console, with info about loaded junks, used memory, cursor position, etc. To enable, disable this press '~'.

console

Controls

  • WASD - cursor movement
  • ~ - informations console
  • F - mark a cell
  • SPACE - press on cell

Copyright (C) 2022 Viktor Nekrutenko

sapper's People

Contributors

vikt0r-nekrutenko avatar

Watchers

 avatar

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.