This project is a SvelteKit implementation of the Path Finder game. The original version of the game was created using HTML, CSS, and JavaScript. This implementation leverages the power of SvelteKit to create a more modular and maintainable codebase.
- SvelteKit: Utilizes SvelteKit for building the application.
- TypeScript: Written in TypeScript for type safety.
- State Management: Uses Svelte stores for managing game state.
- Animations: Includes animations for dots and lines to enhance the visual experience.
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
bunx sv create
# create a new project in my-app
bunx sv create my-app
Once you've created a project and installed dependencies with bun install
, start a development server:
bun run dev
# or start the server and open the app in a new browser tab
bun run dev -- --open
To create a production version of your app:
bun run build
You can preview the production build with bun run preview
.
To deploy your app, you may need to install an adapter for your target environment.
This project was inspired by and uses code from this CodePen by Blazicke.