Files
memory-manager-concurrent/games/retrosnake/README.md
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

63 lines
1.6 KiB
Markdown
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.
# Retro Snaker
<p align="center">pure navtive JavaScript combined with canvasno dependence</p>
<p align="center">
<img src="https://img.shields.io/github/languages/top/badges/shields.svg?style=plastic">
<img src="https://img.shields.io/gemnasium/mathiasbynens/he.svg?style=plastic">
</p>
The results are shown as follows
# Show
<p align="center"><img src="images/RetroSnaker.gif" width="650" alt="RetroSnaker" /></p>
# How to use
You can do an attempt in my blog laboratory [http://www.chenqaq.com/lab/RetroSnake](http://www.chenqaq.com/lab/RetroSnake)
You can also clone this project and try it locally
```
git clone https://github.com/okaychen/RetroSnake.git
```
or use the `.zip`
And the structure about this project is very simpleyou just need to open the `.html` to have a try
```
RetroSnaker
│ README.md
│ index.html
|
└───images
└───css
│ │ main.css
|
└───js
│ snake.js
```
I think the focus is on the idea of the program I do not compressyou can see the original JS
# About settings
<p align="">
<img src="images/main.png" height="420px" width="300px">
<img src="images/settings.png" height="420px" width="300px">
</p>
Main Function
1. you can choose wall as an obstacle 「on」or「off」
2. you can choose speed the moving speed of the snake 「slow」「normal」or「fast」
And the other rules are the same as the snake rules played in childhood
Such as
- You can eat your body or hit the wall to kill yourself under the wall model
- According to how much food you eat to increase the length of the snake