Minesweeper
所属分类:浏览器
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-11-23 13:27:37
上 传 者:
sh-1993
说明: 要在web浏览器中玩的简单扫雷游戏
(A simple minesweeper game to be played in the web browser)
文件列表:
LICENSE (1066, 2023-11-23)
images/ (0, 2023-11-23)
images/example.png (62300, 2023-11-23)
src/ (0, 2023-11-23)
src/assets/ (0, 2023-11-23)
src/assets/bomb.png (10348, 2023-11-23)
src/assets/flag.png (6003, 2023-11-23)
src/favicon-32.png (624, 2023-11-23)
src/favicon.png (354, 2023-11-23)
src/index.html (771, 2023-11-23)
src/script.js (7191, 2023-11-23)
src/style.css (1536, 2023-11-23)
# Minesweeper
## Description
This is a simple minesweeper game.
![Minesweeper](https://github.com/Lukas-LLS/Minesweeper/blob/master/images/example.png)
> Note: The game only works for devices with a large enough screen.
> It is not optimized for mobile devices.
## How to play
1. Click on a cell to reveal it.
2. If you reveal a mine, you lose.
3. If you reveal a number, it tells you how many mines are adjacent to that cell.
4. If you reveal a cell with no adjacent mines, it will reveal all adjacent cells.
5. Click on a cell while holding ALT to flag it as a mine.
6. If you reveal all cells that are not mines, you win.
## How to run
1. Clone the repository.
2. Make everything below the `/src` directory available to a web server of your choice.
近期下载者:
相关文件:
收藏者: