This is the frontend application for the Modern Minesweeper game. It provides a user interface for interacting with the game, including starting new games, making moves, and displaying game status.
- User Interface: A modern and responsive design for the Minesweeper game.
- Game Interaction: Allows users to start new games, reveal cells, and track game progress.
- API Integration: Communicates with the backend to handle game logic and user authentication.
To set up the frontend application, follow these steps:
-
Clone the Repository:
git clone https://github.com/asifurrahmanbubt/Web-Based-Minesweeper-Frontend
-
Navigate to the Project Directory:
cd modern-minesweeper-frontend
-
Unzip the node_modules all at once
-
Install Dependencies:
npm install
-
Setup Environment Variables: Create a
.env
file in the root directory and add the necessary environment variables. Refer to.env.example
for the required variables. -
Run the Application:
npm start
After setting up and running the application, the frontend will be available on http://localhost:3000
. Open this URL in your web browser to start playing Minesweeper.
REACT_APP_API_URL
: The base URL of the backend API.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes and commit them (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.