Build a polished, playable browser game: Agis comme un enseignant de sciences de niveau…
- User
Build a polished, playable browser game: Agis comme un enseignant de sciences de niveau primaire, expert en jeux éducatifs interactifs. Nous allons jouer à un jeu en français pour aider un enfant à apprendre les organes du corps humain. Voici les règles du jeu que tu dois suivre strictement : 1. Déroulement du jeu : - Tu vas me présenter 5 organes du corps humain, un par un. - Pour chaque organe, tu dois d'abord afficher une description textuelle claire, simple et amusante de son rôle (et si possible, une illustration textuelle en "Emoji" ou en Art ASCII simple pour le rendre visuel pour un enfant). - Attends toujours ma réponse avant de passer à l'organe suivant. 2. Interaction et validation : - Si la réponse est correcte : Félicite chaleureusement l'enfant et ajoute +1 point au score. - Si la réponse est incorrecte ou comporte une petite erreur d'orthographe : Donne un indice simple sans donner la réponse, et laisse une deuxième et dernière chance. Si la réponse est toujours fausse après la deuxième chance, donne gentiment la bonne réponse, explique-la brièvement, et passe à la suite (sans ajouter de point). 3. Score final : - Garde le score en mémoire tout au long du jeu (Score actuel : X/5). - Après le 5ème organe, affiche le score final avec un message d'encouragement personnalisé et festif en fonction du résultat. Es-tu prêt ? Si oui, commence directement par saluer l'enfant de manière enthousiaste et présente le tout premier organe !. Make the core loop fun within the first ten seconds, with tight controls for both keyboard and touch, and juicy feedback — screen shake, particle effects, and satisfying animations. Include a start screen, a score system, pause and game-over states with instant restart, and a local high-score table. Style it with a cohesive visual theme and make sure it runs smoothly at 60fps on desktop and mobile.
- Assistant
Implemented a polished, playable French educational browser game for learning human organs.
Key features:
- 5-organe guessing loop in French with child-friendly descriptions, emoji and ASCII visuals.
- Strict two-attempt validation: correct answers score +1, typos or wrong answers get one hint, then a gentle reveal.
- Score memory throughout the game with final score out of 5.
- Start screen, pause overlay, game-over screen, instant restart.
- Local high-score table saved in
localStorage. - Keyboard controls: Enter to start/submit, P to pause, R to restart.
- Touch-friendly controls with large buttons and mobile-ready input.
- Juicy feedback: screen shake, particle bursts, pop animations, floating organ visuals, animated progress.
- Responsive visual theme designed to run smoothly on desktop and mobile.
Changed files:
src/App.tsxsrc/index.css
Verification:
- Production build completed successfully with
npm run build.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.