mirror of
https://github.com/tiennm99/ai-coding-workflow-labs.git
synced 2026-09-17 02:20:46 +00:00
Convert all 41 TypeScript source/config files in cc4e-course/quiz-project (Next.js), gstack (Astro), and superpowers (Vite/React/Phaser) to plain JavaScript with JSDoc type annotations, replacing tsconfig.json with jsconfig.json (strict + checkJs) in each subproject. No behavior changes: lint, typecheck, test, and build gates match their TypeScript baselines exactly in all three subprojects. Update stack references in the affected READMEs accordingly.
18 lines
317 B
JavaScript
18 lines
317 B
JavaScript
import Phaser from "phaser";
|
|
|
|
export class PreloadScene extends Phaser.Scene {
|
|
constructor() {
|
|
super({ key: "PreloadScene" });
|
|
}
|
|
|
|
/** @returns {void} */
|
|
preload() {
|
|
// No assets to load — emoji are rendered as text
|
|
}
|
|
|
|
/** @returns {void} */
|
|
create() {
|
|
this.scene.start("GameScene");
|
|
}
|
|
}
|