Recompia
Pokémon Pokopia (Switch 2) recompiled to run natively on Windows with Linux/Handheld support. Multiplayer included, modding, feature enhancements and more! Join the discord community as well
翻译准备中
尚未检测到更新。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