Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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