Files
memory-manager-concurrent/games/retrosnake/index.html
Cola-Echo 6b80f1b755 feat: 支持 Lore-char 命名的总结世界书识别
- isSummaryBook 函数新增对 Lore-char/lore-char 的检测
- 修复启用记忆搜索助手时进度条重复显示总结世界书任务的问题
- 更新错误提示信息,说明支持的命名规则

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 00:49:28 +08:00

66 lines
1.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/main.css">
<title>Retro Snaker</title>
<style>
body{
border-radius: 10px;
}
</style>
</head>
<body>
<header class="wrap">
<h1>Snake</h1>
<p class="score">Score
<span id="score_value">0</span>
</p>
</header>
<canvas class="wrap" id="snake" width="400" height="400" tabindex="1"></canvas>
<!-- Game Over Screen -->
<div id="gameOver">
<h2>Game Over</h2>
<p>press
<span class="again">space</span>
begin a
<a id="newgame_gameOver">new Game</a>
<a id="setting_gameOver">settings</a>
</p>
</div>
<!-- Setting Screen -->
<div id="settings">
<h2>Snake Settings</h2>
<a id="newgame_setting">new game</a>
<p>Speed
<input id="speed1" type="radio" name="speed" value="150">
<label for="speed1">Slow</label>
<input id="speed2" type="radio" name="speed" value="100" checked>
<label for="speed2">Normal</label>
<input id="speed3" type="radio" name="speed" value="50">
<label for="speed3">Fast</label>
</p>
<p>Wall
<input id="wallon" type="radio" name="wall" value="1" checked>
<label for="vallon">on</label>
<input id="walloff" type="radio" name="wall" value="0">
<label for="walloff">off</label>
</p>
</div>
<!-- Main Menu Screen -->
<div id="menu">
<h2>Retro Snaker</h2>
<a id="newgame_menu">new game</a>
<a id="setting_menu">settings</a>
</div>
<script src="js/snake.js" type="text/javascript"></script>
</body>
</html>