Skip to content
janispritzkauPublic

About

Loopover is a single-player sliding tile game.

Topics

Resources

Stars

43 stars

Watchers

3 watching

Forks

Repository files navigation

Loopover

Loopover Game

Project structure

src/state/

Contains most of the higher-level game logic, such as the timer, various events, and many other things.

src/game/

Contains the core game code such as move mechanics, canvas rendering and the scramble algorithm.

src/components/

Reuseable Vue components are placed inside here.

src/views/Main.vue

The overall layout and design of the game is defined here.

Project setup

Requires Node.js 20.19+ or 22.12+ (.nvmrc pins the version used in CI).

npm install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build
npm run preview # serve the production build locally

Type check

npm run typecheck

Configuration

Build-time settings are read from .env files (see Vite env variables). Put local overrides into .env.local.

Variable Description
VITE_TITLE Page title
VITE_API Base URL of the sync/authentication API
VITE_GOOGLE_CLIENT_ID Google OAuth client ID
VITE_DISCORD_CLIENT_ID Discord OAuth client ID

About

Loopover is a single-player sliding tile game.

Topics

Resources

Stars

43 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages