Coder Social home page Coder Social logo

next-minesweeper's Introduction

Minesweeper

This is a simple project of a classic minesweeper game used to show the power and ease of use of Next.js. You can make changes to the project, or play the game if you'd like. If you want to learn more, see the Demo section.

Demo

The game has the rules of regular minesweeper. Currently there is only an easy board (10x8), but in the future medium and hard boards will be available. It is also currently not mobile friendly.

You can play the game here.

Minesweeper Game Demo

Cloning the Repo

To clone the project, run the following command into the desired folder

git clone https://github.com/sb2bg/next-minesweeper

See Getting Started for instructions on how to run the server

Getting Started

To start the development server, first, you must cd into the project folder. Then, you can run either of the following commands

npm run dev
# or
yarn dev

Once thats done, to view the webpage, open localhost:3000 to play the game or help debug your changes.

next-minesweeper's People

Contributors

sb2bg avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

next-minesweeper's Issues

Fix flag break

When flood filling and flag gets removed, add it back to bank

Prettier pre-commit hook

Setup a prettier pre-commit hook so when working from devices without prettier formatting stays the same.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.