Skip to content

amansanoj/arcade

Repository files navigation

OG Image

Index

Features

  • Multiple integrated games: Breakout, Clicker, Dash, Pong, Snake, and Space Shooter
  • Fast client-rendered interactions powered by Svelte 5 and SvelteKit
  • Type-safe components and state management utilizing TypeScript
  • Responsive styling provided by Tailwind CSS
  • Cloudflare Workers integration for edge deployment

Project Structure

.
├── .gitignore
├── .npmrc
├── .prettierignore
├── .prettierrc
├── .vscode
│   └── settings.json
├── README.md
├── bun.lock
├── eslint.config.js
├── package-lock.json
├── package.json
├── src
│   ├── app.d.ts
│   ├── app.html
│   ├── hooks.server.ts
│   ├── lib
│   │   ├── assets
│   │   │   └── favicon.svg
│   │   ├── games.ts
│   │   ├── index.ts
│   │   └── stores.js
│   ├── routes
│   │   ├── +layout.svelte
│   │   ├── +page.svelte
│   │   ├── breakout
│   │   │   ├── +page.js
│   │   │   └── +page.svelte
│   │   ├── clicker
│   │   │   ├── +page.js
│   │   │   └── +page.svelte
│   │   ├── dash
│   │   │   ├── +page.js
│   │   │   └── +page.svelte
│   │   ├── games
│   │   │   └── +page.svelte
│   │   ├── layout.css
│   │   ├── pong
│   │   │   └── +page.svelte
│   │   ├── snake
│   │   │   ├── +page.js
│   │   │   └── +page.svelte
│   │   └── spaceshooter
│   │       └── +page.svelte
│   └── worker-configuration.d.ts
├── static
│   └── .assetsignore
├── svelte.config.js
├── tailwind.config.js
├── tsconfig.json
├── vite.config.ts
└── wrangler.jsonc

The codebase uses a standard SvelteKit layout. Shared state and utilities are kept in src/lib, while the minigames are separated into individual routes under src/routes.

Local Development

To launch the project locally, install dependencies and start the development server using Bun or NPM:

npm install
npm run dev
# or
bun install
bun run dev --open

Deployment

The application relies on @sveltejs/adapter-cloudflare for native Cloudflare Workers deployment. To build the production version:

npm run build

Configuration for routing and deployment rules is defined in wrangler.jsonc.

Credits & License

Created with the Svelte CLI. For details regarding project limits and usage, please refer to the repository license.

About

A collection of classic arcade games built with modern web technologies. Focuses on clean code, responsive design, and smooth gameplay mechanics.

Resources

Stars

Watchers

Forks

Contributors