← กลับรายการ
Fraction Sushi
คณิตศาสตร์ อายุ 10-12 (ป.ปลาย) เกมส์

Fraction Sushi

โดย พ่อน้องมัฟฟิ่นแอนด์ทรัฟเฟิล · เล่นแล้ว 34 ครั้ง

Create a single-file HTML game using Phaser.js (load from CDN) called "Fraction Sushi" for Thai elementary students (grades 4-6).
Game concept:

Player runs a sushi restaurant
Customers walk in and order sushi (e.g. "ขอซูชิแซลมอน 3 จาน")
Each menu item requires fractional ingredients (e.g. salmon = 1/4 per piece)
Player must calculate total ingredients needed and type the answer
Correct = serve the customer, earn coins
Wrong or too slow = customer walks out, lose 1 heart

Math content (grade 4-6 appropriate):

Fraction addition with same denominator: 1/4 + 2/4 = ?
Multiply fraction by integer: 3 × 1/4 = ?
Answer is always a fraction or simple mixed number
Never use division of fractions

Phaser.js scene structure:

GameScene: main gameplay
UIScene: HUD overlay (hearts, coins, level, timer)

Visuals — load all assets from free public URLs:

Background: Japanese restaurant interior from a public CDN or placeholder color rect
Customer: colored rectangle with emoji face (🧑) if no asset available
Sushi items: emoji (🍣 🍱 🦐) rendered as Phaser text objects
Conveyor belt: animated horizontal strip using tileSprite
Use placeholder colored rectangles for anything without a real asset URL

Gameplay flow:

Customer walks in from right side (tween)
Speech bubble appears with order (e.g. "ขอ 🍣 3 จาน")
Math problem appears at bottom: "ต้องใช้แซลมอน กี่ส่วน? (แต่ละจานใช้ 1/4)"
Player types answer in input box and presses Enter
Correct → customer smiles, walks out, +10 coins
Wrong → customer frowns, -3 seconds
Timer runs out → customer leaves, -1 heart

UI:

Top bar: ❤️❤️❤️ hearts, coin counter, level, countdown timer
Bottom panel: math problem text + input box + confirm button (all large, easy to read)
All text in Thai
Input font-size: 28px, panel height: 180px

Difficulty scaling:

Level 1-2: same denominator addition only, 30 seconds per customer
Level 3-4: multiply fraction × integer, 25 seconds per customer
Level 5+: mixed problems, 20 seconds per customer

🎮 เล่นเกมเลย!

💬 รีวิวจากผู้เล่น (0)

เข้าสู่ระบบ เพื่อเขียนรีวิว
ยังไม่มีรีวิว — เป็นคนแรกที่รีวิวเกมนี้!