Skip to content

naive implementation of classic minesweeper game with javascript and the react library

Notifications You must be signed in to change notification settings

ktprezes/simple-react-minesweeper

Repository files navigation

Simple REACT Minesweeper

Objective

Create a naive implementation of the classic minesweeper game
with the javascript programming language and the react library.

Anticipated stages

  1. Create basic react application from the template provided:
    the npx create-react-app minesweeper command and its magic (status: done).

  2. Create visual react components representing all main parts
    of the application's UI (status: in progress).

    Intermediate goals:

    1.1 Style these components with CSS (status: done),

    1.2 Handle (at the very basic level) user generated events
    e.g.: 'left click' - open the cell, 'right click' - mark/unmark the cell (status: done).

    1.3 Present the designed UI as the website (status: done).

  3. Provide the game logic (status: planned)

    e.g.:

    2.1 Open all the empty (with 0/zero 'bombs' in the neighborhood) cells adjacent to the clicked one and their neighbors,

    2.2 Present to the user the number of 'bombs' located next to the open cells (status: done).

  4. Provide the 'status area' logic (status: planned)

    e.g.:

    3.1 Timer,

    3.2 Marked 'bombs' counter (status: done),

    3.3 'New game/Reset' button.

  5. Other improvements (status: planned).

About

naive implementation of classic minesweeper game with javascript and the react library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published