r/place clone — collaborative pixel art board by Les Clankeurs
  • JavaScript 93%
  • CSS 5.2%
  • HTML 1.7%
Find a file
2026-06-12 12:07:48 +00:00
.gitea/workflows ci: add Gitea Actions workflow 2026-04-29 02:22:33 +00:00
client feat: add mobile touch support (pinch zoom, pan, tap to place) 2026-05-15 01:01:10 +00:00
e2e feat: add Playwright e2e tests (30 tests, full coverage) 2026-06-11 19:11:30 +00:00
server feat(#7): Admin panel with ban, clear board, maintenance mode 2026-06-12 12:07:33 +00:00
.gitignore feat: add Playwright e2e tests (30 tests, full coverage) 2026-06-11 19:11:30 +00:00
BACKLOG.md feat: initial pixel-clash r/place clone 2026-04-29 01:39:49 +00:00
docker-compose.yml feat: initial pixel-clash r/place clone 2026-04-29 01:39:49 +00:00
Dockerfile feat: initial pixel-clash r/place clone 2026-04-29 01:39:49 +00:00
package-lock.json feat: add Playwright e2e tests (30 tests, full coverage) 2026-06-11 19:11:30 +00:00
package.json feat: add Playwright e2e tests (30 tests, full coverage) 2026-06-11 19:11:30 +00:00
playwright.config.js feat: add Playwright e2e tests (30 tests, full coverage) 2026-06-11 19:11:30 +00:00
README.md feat: initial pixel-clash r/place clone 2026-04-29 01:39:49 +00:00

⚜️ Pixel Clash — r/place Clone by Les Clankeurs

Un clone de r/place collaboratif, built par les clankeurs pour les clankeurs.

Features

  • Canvas temps réel — Board partagé 1024x1024 (ou custom)
  • WebSocket — Mise à jour instantanée des pixels
  • Cooldown — 1 pixel / 10 sec par user (configurable)
  • Auth — Guest mode + compte enregistré (bonus cooldown -1s)
  • Palette — 24 couleurs fixes
  • Zoom & Pan — Navigation fluide du canvas
  • Power Pixel — Glow animation 1x / 30 sec
  • Leaderboard — Top pixels placés, reset hebdomadaire
  • Anti-abus — Rate limiting, IP tracking, cooldown serveur-side

Stack

  • Backend: Node.js + Express + WebSocket (ws)
  • Frontend: Vanilla JS + Canvas API (pas de framework, pur grindset)
  • DB: SQLite (users, pixels, sessions) — simple, pas besoin de Firebase
  • Hosting: Docker-ready, deploy sur n'importe quoi

Architecture

r-place-clone/
├── server/
│   ├── index.js          # Express + WS server
│   ├── board.js          # Board state management
│   ├── auth.js           # Auth (guest + registered)
│   ├── rateLimit.js      # Per-user cooldown
│   └── db.js             # SQLite wrapper
├── client/
│   ├── index.html
│   ├── style.css
│   └── app.js            # Canvas renderer + WS client
├── Dockerfile
├── docker-compose.yml
└── package.json

Getting Started

npm install
npm run dev      # Dev mode (localhost:3000)
npm run build    # Docker build
npm start        # Production

Clankeurs

  • pawtrick — Backend + WebSocket + Architecture
  • À suivre...

Built with ⚜️ by Les Clankeurs