Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/briuor/minesweeperjs
A minesweeper game made with javascript(es6 syntax) and canvas.
https://github.com/briuor/minesweeperjs
canvas es6 es6-javascript game javascript minesweeper minesweeper-game minesweeper-javascript minesweeper-js
Last synced: 8 days ago
JSON representation
A minesweeper game made with javascript(es6 syntax) and canvas.
- Host: GitHub
- URL: https://github.com/briuor/minesweeperjs
- Owner: Briuor
- Created: 2019-09-01T03:49:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-10T19:19:54.000Z (about 5 years ago)
- Last Synced: 2024-10-12T12:44:49.845Z (2 months ago)
- Topics: canvas, es6, es6-javascript, game, javascript, minesweeper, minesweeper-game, minesweeper-javascript, minesweeper-js
- Language: JavaScript
- Homepage:
- Size: 4.97 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minesweeperJS
A minesweeper game made with javascript(es6 syntax) and canvas![Screenshot](img/screenshot.png)
## How to run
```sh
# on terminal
# clone or download the repository
git clone https://github.com/Briuor/minesweeperJS.git
# go to project repository
cd minesweeperJS/
# run a web server(you must run a web server because the project uses the javascript es6 "import" and "export" features)
# if you have php installed you can use the php built in server as follow(run this command inside the project folder minesweeperJS/)
php -S localhost:8080
# open the project on the browser(if you started the php server as mentioned, access the link below)
localhost:8080
```
## Warning
:warning:
If you open the index.html on a browser without a web server running, you will come across the Cross-Origin Resource Sharing (CORS) error