This project is a Minesweeper game built using Svelte.
The game is hosted on minesweeper.kan-a-pesh.fr.
This project uses npm and TypeScript. To install and run the project, follow these steps:
1. Clone the repository:
git clone https://github.com/Kan-A-Pesh/svelte-minesweeper
2. Navigate into the project directory:
cd svelte-minesweeper
3. Install the dependencies:
npm install
To start the development server, run:
npm run dev
Then open your browser to localhost:5173
.
Here's a brief overview of the project's structure:
src/
: This is where the main application code is stored. It includes:interfaces/
: Contains TypeScript interfaces used in the project.lib/
: Contains all the components used in the project.styles/
: Contains all the CSS files.utils/
: Contains utility functions like generateMap.ts
.App.svelte
: The main application component.main.ts
: The entry point for the application.public/
: This directory contains static files.index.html
: The main HTML file.You can learn more about the technologies used in this project by visiting the following links:
This project is licensed under the MIT License.