Skip to content
thalysPublic

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

130 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048

A 2048 puzzle game built with PixiJS 8 and TypeScript, using Vite as the toolchain and Bun as the package manager.

Documentation

Getting Started

Prerequisites

  • Bun — package manager and script runtime: curl -fsSL https://bun.sh/install | bash

Installation

# Clone the repository
git clone <repository-url>
cd 2048_game

# Install dependencies
bun install

Development

# Start the dev server on http://localhost:3212
bun run dev

# Lint (oxlint) and type-check (tsc)
bun run lint
bun run typecheck

# Autofix lint + format (oxlint --fix + oxfmt)
bun run fix

# Run tests (bun run test:watch for watch mode)
bun run test

# Build for production / preview the build
bun run build
bun run preview

Project Layout

  • src/engine/ — reusable game-engine layer over PixiJS (navigation, audio, resize, layout)
  • src/app/ — the 2048 game: screens, popups, UI widgets, game state
  • src/gen/ — generated asset manifest (do not edit)
  • raw-assets/ — source assets, processed by AssetPack into public/assets/ during dev/build
  • scripts/ — AssetPack pipeline, Vite plugins, and git-hook tooling

See AGENTS.md for a more detailed architecture and tooling reference.

Cleaning

# Clean all build artifacts and dependencies
bun run clean

# Clean only generated assets
bun run clean:assets

License

Private project - All rights reserved

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages