Minesweeper

Portfolio und Leben

Minesweeper

Screenshot of Minesweeper Game

I coded Minesweeper as a web application using JavaScript, HTML and CSS!

Minesweeper is a single-player puzzle video game. The objective of the game is to clear a rectangular board containing hidden „mines“ or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field. The game originated in the 1960s, and has been included with many operating systems throughout the years. It can also be played online.

Generated by ChatGPT

Minesweeper Implementation

Using HTML and CSS for the user-interface and JavaScript for the logic behind it, I attempted to recreate one of the most popular computer games amongst multiple generations.

Key Features

My version of the game supports three difficulties, which get progressively harder. The settings menu can be opened by pressing „P“ or „Esc“ and menus can be closed by pressing „Esc“. Additionally, you can change the music and sound volume in the settings menu.

How to cheat JavaScript

If you open up the developer console, you can access a two-dimensional array which holds the position of every mine. So if the game is too difficult, or if you have to take a guess at some point, you may just be able to use the console to your advantage.

Try it yourself!

Look at my other projects!

If you found this article interesting, you might be interested in some of my other projects. Follow up on JavaScript applications, such as Snake or the Monty Hall problem, or take a look at some of my python scripts like my wallpaper slicer or a video to ASCII conversion tool.

Tags: , , , ,

5 Antworten

  1. Darius sagt:

    Voll nices game man!
    Mal schauen ob deine site auch cross-site-scripting proof ist

    alert(„cross site scripted?“)

  2. […] you might be interested in some of my other projects. Follow up on JavaScript applications, such as Minesweeper or the Monty Hall problem, or take a look at some of my python scripts like my wallpaper slicer or […]

  3. […] If you found this article interesting, you might be interested in some of my other projects. Follow up on python scripts, like my Video To ASCII, or take a look at some of my JavaScript applications like Snake or Minesweeper.  […]

  4. […] If you found this article interesting, you might be interested in some of my other projects. Follow up on python scripts, like my wallpaper slicer, or take a look at some of my JavaScript applications like Snake or Minesweeper.  […]

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert