Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

minesweeper-belini22

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minesweeper-belini22

This project is a simplified Minesweeper game built entirely with JavaScript.

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Minesweeper

Introduction

This project is a simplified Minesweeper game built entirely with JavaScript. It aims to provide a minimalistic yet fully functional implementation of the classic game. The game features a grid of tiles that hide either a mine or a number, where the number represents the count of adjacent mines. Players reveal tiles with the goal of clearing all non-mine tiles.

Features

  • Dynamic grid generation based on specified dimensions and mine count.
  • Recursive reveal mechanism for tiles with no adjacent mines.
  • Basic UI interactions using HTML and JavaScript.
  • Game over detection when a mine is revealed.

Setup

To run this game, simply clone the repository and open the index.html file in a browser. No additional setup or dependencies are required.

Usage

The game initializes with a predefined grid size and number of mines. Players can click on tiles to reveal what's underneath. The game ends when either all non-mine tiles are revealed or a mine is clicked.

Contributing

Contributions to the Minesweeper project are welcome. Please feel free to fork the repository, make your changes, and submit a pull request for review.

Acknowledgments

This project is inspired by the classic Minesweeper game, aiming to provide a simple yet challenging experience for beginners and seasoned players alike.

Keywords

FAQs

Package last updated on 17 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc