Git Product home page Git Product logo

minesweeper-ntua's Introduction

Minesweeper - NTUA

This project is a variation of the classic game Minesweeper, developed as a project assignment for the course "Multimedia Technology" at ECE NTUA.

Games Rules

In this game, the player must clear a board of hidden mines without detonating any of them. There is also a super-mine and a timer. If the player flags the super-mine within the first 4 tries, all tiles in the same row and column with the super-mine are revealed. If the timer ends before the game is completed, the player loses.

Scenarios

Players can create new scenarios or load existing ones from the medialab directory. Scenarios define the game's difficulty, the number of mines, the available time, and whether there is a super-mine.

Mines

Each time a new game is started, the mines are randomly generated in different positions, which can be found in the mines.txt file under the mines directory. This file also indicates whether a mine is a super-mine or not

Rounds

The game includes a feature that displays information about the last five completed games in a pop-up window. This information includes the following:

  1. Total number of mines in the game.
  2. Number of attempts made by the player to complete the game.
  3. Total game time
  4. Winner (player or computer)

Information from the last 5 rounds can be found in the rounds.txt file under the rounds directory.

Solution

The game includes an option to reveal the solution. When this option is activated, all mines are uncovered and the game is counted as a loss.

Screenshots

Starting Page:

Starting Page

Win:

Win

Loss:

Loss

Supermine marking:

Supermine mark

Last 5 Rounds - Info

Last 5 Rounds - Info

minesweeper-ntua's People

Contributors

emsquared2 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.