iframe.app 内测中
目录 / 街机休闲

Snake

Snake is a modern take on the classic Snake game, built with HTML5, CSS3 and JavaScript.

街机休闲4:3手机可玩#arcade#classic#ads

在这里试玩

这和你的访客拿到的完全一样:加载器、活码位和条目本身,都由我们的内容域名提供。

介绍

Snake is a modern take on the classic Snake game, built with HTML5, CSS3 and JavaScript. It is lightweight, fast, responsive and supports touch, and runs in all modern browsers and devices.

How to play: control the snake with the arrow keys or W, A, S, D. Eat the food to grow longer and avoid crashing into the walls or into yourself.

放到你的页面上

把这两行贴到想显示的位置,把 YOUR_PUBLIC_ID 换成你账户里的公开 ID;在账户里加上你发布用的域名,马上就能用。 获取你的公开 ID →

<script src="https://useiframe.com/f.js"
        data-account="YOUR_PUBLIC_ID" async></script>
<div data-iframe="snake" data-ratio="4:3"></div>
  • data-slot="sidebar" 给位置起名,同一页面的两个位置就能显示不同条目、分别切换。
  • data-launch="click" 先显示 div 里你放的内容(图片、按钮),访客点了才加载条目。
  • data-ratio="16:9" 设置框的比例;auto 让条目自己报告高度。

每个位置都是活码:以后可以在账户里改它显示什么,一个页面或全部页面一起改,不用动你的网页。

详情

比例
4:3
方向
横屏
操作方式
鼠标 · 触屏 · 键盘
手机
手机可玩
上架
2026-10-01
slug
snake

相似条目

查看全部 6 个