Recompia
Pokémon Pokopia를 Windows에서 직접 실행, 멀티플레이·모드·기능 향상 지원
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Een Progressive Web App (PWA) die een curatie set van HTML5 games, tools en studiemateriaal host. Na het eerste beurt draait de volledige ervaring — inclusief elke game — vanaf de lokale cache van het apparaat.
Benodigdheden
• Node.js (of een statische server)
• Modern browser (Chrome 90+, Firefox 90+, Safari 15+)
Open dan http://localhost:3000 in je browser.
Via Vercel Dashboard:
1. Ga naar vercel.com
2. Klik "New Project"
3. Import je GitHub repository
4. Vercel detecteert automatisch dat het een statische site is
5. Klik "Deploy"README 전문 보기 ↗Een Progressive Web App (PWA) die een curatie set van HTML5 games, tools en studiemateriaal host. Na het eerste beurt draait de volledige ervaring — inclusief elke game — vanaf de lokale cache van het apparaat.
Optie 1: Met Node.js (aanbevolen)
# Install dependencies
npm install
# Start development server op port 3000
npm start
Optie 2: Met Python
python -m http.server 3000
Optie 3: Met PHP
php -S localhost:3000
Open dan http://localhost:3000 in je browser.
# Initialiseren van git repository
git init
git add .
git commit -m "Initial commit"
# GitHub repository aanmaken en pushen
git remote add origin https://github.com/your-username/dub5.git
git branch -M main
git push -u origin main
Via Vercel CLI:
# Install Vercel CLI
npm i -g vercel
# Deployen
vercel
Via Vercel Dashboard:
Het project bevat al een vercel.json bestand met:
/
├── index.html # Hoofd pagina
├── manifest.webmanifest # PWA manifest
├── sw.js # Service worker
├── offline.html # Offline fallback pagina
├── vercel.json # Vercel configuratie
├── package.json # NPM scripts
├── css/ # Stylesheets
│ ├── tokens.css # Design tokens
│ ├── base.css # Reset & body
│ ├── shell.css # Topbar, container, footer
│ ├── cards.css # Nav cards, badges
│ └── game.css # Game HUD chrome
├── js/ # Core JavaScript
│ ├── app.js # Bootstrap & router
│ ├── registry.js # Game manifest
│ ├── starfield.js # Canvas background
│ ├── intro.js # Load animation
│ ├── sw-register.js # Service worker registratie
│ ├── offline-manager.js # Bulk offline download
│ └── build-hash.js # Cache versioning
├── engine/ # Game engine
│ ├── loop.js # Fixed-timestep loop
│ ├── input.js # Input handling
│ ├── canvas.js # Canvas management
│ ├── storage.js # Namespaced storage
│ ├── audio.js # WebAudio synth
│ ├── rng.js # Seeded PRNG
│ ├── hud.js # Score & overlays
│ └── game-host.js # Game lifecycle
├── games/ # Game modules
│ └── snake/
│ └── index.js # Snake game
└── assets/ # Statische assets
├── icons/ # PWA icons
└── fonts/ # Self-hosted fonts
DUB5 is speciaal ontworpen om te werken op school WiFi netwerken die games blokkeren:
Voor gebruik op school moeten studenten:
games/your-game/index.js met game implementatiejs/registry.jsElke game moet exporteren:
export default {
id: 'game-id',
title: 'Game Title',
description: 'Game description',
category: 'games',
icon: 'icon-name',
tags: ['arcade', 'keyboard'],
minPlayers: 1,
async mount(root, ctx) {
// ctx bevat: canvas, input, audio, storage, hud, loop, rng, exit
// Return { destroy(), pause(), resume() }
}
};
# Install Lighthouse CLI
npm i -g lighthouse
# Run audit
lighthouse http://localhost:3000 --view
Doelstellingen:
| Metric | Budget |
|---|---|
| App shell (gzipped) | ≤ 60 KB |
| Single game (gzipped) | ≤ 40 KB |
| Total precache | ≤ 300 KB |
| Time to interactive | ≤ 1.5 s |
| Frame budget | 16.6 ms (60 FPS) |
eval(), geen remote script injection© 2026 DUB5. Alle rechten voorbehouden.
Bijdragen zijn welkom! Volg deze stappen:
Voor vragen of problemen:
Built with ❤️ for students, by students