Installation
Prerequisites
Before you begin, ensure you have the following installed:
Installing pnpm
If you don’t have pnpm installed:
npm install -g pnpmClone the Repository
git clone https://github.com/ibimspumo/SpriteBox.gitcd SpriteBoxInstall Dependencies
pnpm installThis installs dependencies for both the frontend (apps/web) and backend (apps/server).
Project Structure
After installation, your directory looks like this:
SpriteBox/├── apps/│ ├── server/ # Node.js backend│ │ └── src/│ │ ├── index.ts # Entry point│ │ ├── socket.ts # WebSocket handlers│ │ ├── instance.ts # Game instance logic│ │ ├── voting.ts # Elo algorithm│ │ └── phases.ts # Game phase management│ └── web/ # Svelte frontend│ └── src/│ ├── lib/│ │ ├── components/ # Atomic Design structure│ │ ├── stores.ts # Svelte stores│ │ └── socket.ts # Socket client│ └── routes/ # SvelteKit routes├── package.json # Workspace scripts└── pnpm-workspace.yaml # Monorepo configurationNext Steps
- Quick Start - Run the development server