Fruit Slash: SVG fruit slicer

An arcade game OpenVGLab built with Claude Opus 5.5. Copy the exact prompt free.

OpenVGLab built this with Claude Opus 5.5 and shared the full prompt on GitHub; it is quoted below word for word. Swipe-to-slice, inspired by Fruit Ninja: turn the mouse into a blade, miss the bombs. Classic, 60-second arcade, and 90-second zen. Wood dojo, glossy fruit, jui This prompt is in Chinese. Paste it as written; Claude follows it in any language. Add "Make all in-game text English" if you want English menus. Prompt in Chinese. Swipe-to-slice, inspired by Fruit Ninja: turn the mouse into a blade, miss the bombs. Classic, 60-second arcade, and 90-second zen. Wood dojo, glossy fruit, jui

The prompt

你负责独立完成一款浏览器小游戏《水果刀客 FRUIT SLASH》:用鼠标或手指划动切水果,玩法借鉴《水果忍者》,角色、名字和美术全部原创。

【交付】
- 只交付一个自包含文件 fruit-slash.svg,根元素为 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1280 720" width="100%" height="100%" preserveAspectRatio="xMidYMid meet">,窗口缩放时 16:9 画面完整居中。
- 画面、界面、游戏逻辑(内联脚本)和音效全部写在这一个文件里,不引用任何外部图片、字体、脚本或网络资源,浏览器直接打开就能玩。文件必须是合法的 UTF-8 XML。
- 界面文字用中文,标题配英文副标题。音效和背景音乐用 Web Audio 实时合成,第一次按键或点击后开始发声,M 键静音。
- 只借鉴玩法,不使用原作的角色、名字或标志性素材。

【玩法】
- 水果从画面下方抛起,按住鼠标(或手指)快速划过就能切开;划得太慢切不开。
- 一刀切开 3 个以上水果得连击奖励;从正中快速切开有机会暴击 +10;连续切中会累积“连斩”。
- 千万别碰黑色炸弹。
- 三种模式:
  经典:3 条命,漏掉 3 个水果或碰到炸弹就结束。
  街机 60 秒:会出现特殊香蕉,切开后分别触发冰冻减速、双倍得分、狂热果潮;碰到炸弹扣 10 分。
  禅意 90 秒:没有炸弹,静心切果。
- 三档难度(简单、普通、困难),每个模式用 localStorage 各自记录最高分。

【操作】
- 鼠标或触屏划动切水果;在标题页切开某个模式圆环里的水果,就直接开始该模式。
- 键盘:← → 选模式,↑ ↓ 选难度,Enter 开始;P 暂停,R 重新开始,H 帮助,Esc 返回标题,M 静音。

【画面】
- 深色木纹道场:横向木板墙上有钉子和木节,上方挂着写有“切”“果”的红灯笼;标题是钉在木板上的宣纸牌匾,毛笔字“水果刀客”压着一道红色刀痕,旁边盖着“刀客”印章。
- 西瓜、苹果、菠萝、桃子等水果有光泽和立体感,切开后分成两半,露出果肉截面;果汁四溅,在木板上留下果渍。
- 刀光拖尾随划动速度变粗变亮,快速划动时有破空声;碰到炸弹有明显的爆炸效果。
- HUD:左上角是西瓜图标、得分和最高分;顶部中间显示“模式 · 难度”;经典模式在右上角用 3 个 ✕ 记录失误;右下角有暂停和静音按钮。

【流程与界面】
- 标题页:三个模式各是一个圆环,环里放一个水果(经典是西瓜,街机是菠萝,禅意是桃子),下面写模式规则和最高分;底部是帮助按钮、难度选择和“开始”按钮。
- 帮助页“刀客心法”:划切、连击、炸弹、失误、特殊香蕉和各模式说明。
- 开局有“预备”倒计时;暂停菜单有继续游戏、重新开始、操作说明、返回标题。
- 结算页:得分、切开水果数、最佳连击、最长连斩、命中率和本模式最高分,破纪录时提示“新纪录”。

【验收】
在无头 Chrome 里自动试玩:从标题页开局,用模拟的鼠标划动切开水果。要求 0 个 JS 报错、0 个 XML 解析错误、帧率不低于 55 fps;在 1280×720 和 1920×1080 两种分辨率下截图,确认画面完整、文字不溢出。

Prompt by OpenVGLab, quoted word for word from their GitHub repository. Model as stated by the creator; your result will differ.

What’s inside

  1. Copy the prompt below, or download it as a SKILL.md
  2. Paste it into Claude Opus 5.5, ideally in Claude Code so it can write, run and test the game
  3. Swap in your own theme, characters or rules where the prompt names theirs
  4. Play it, then ask for fixes and polish in plain words

What you’ll bring

  • Claude Opus 5.5 (Claude Code, or a Claude chat for single-file HTML games)
  • A browser to play the result
  • Your own twist on the idea, if you want one

What you’ll get

  • A playable browser game in the spirit of the one above, written by Claude
  • The code, which you can keep editing

Perfect for

  • Anyone who wants to make a game without coding
  • Developers testing what Opus 5.5 can build
  • Teachers and parents making a game with kids

Also found as

opus 5.5 game prompt · claude game prompt · one shot game prompt · arcade & puzzle · fruit slash: svg fruit slicer

Questions

What is Fruit Slash: SVG fruit slicer?

Fruit Slash: SVG fruit slicer is an arcade game that OpenVGLab built with Claude Opus 5.5. This page quotes the prompt they shared, word for word.

Who made it, and where was the prompt shared?

OpenVGLab made it and shared the prompt on GitHub: https://github.com/OpenVGLab/awesome-opus5.5-frontend-showcases/blob/main/README.en.md. You can find more from them at https://github.com/OpenVGLab/awesome-opus5.5-frontend-showcases.

How do I use the prompt?

1. Copy the prompt below, or download it as a SKILL.md. 2. Paste it into Claude Opus 5.5, ideally in Claude Code so it can write, run and test the game. 3. Swap in your own theme, characters or rules where the prompt names theirs. 4. Play it, then ask for fixes and polish in plain words.

Is it free?

Yes. Copying the prompt and downloading the SKILL.md costs nothing on Omo. You run it with your own access to Claude Opus 5.5.

The video and the prompt belong to OpenVGLab. Omo lists them free, with credit and a link to the original post. Creators can ask us to remove a listing at omo.space/support.