1 Star 0 Fork 1

三体自动化技术协会/gogo

forked from xiaochi/gogo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 788 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiaochi 提交于 2022-10-13 08:55 . x
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<title>围棋</title>
<meta name="viewport" content="initial-scale=1">
<style>
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<canvas id="C" draggable="true"></canvas>
<p id="statusBar" style="border: 1px solid;"></p>
<p>use WASD or drag to move, use -+ to scale</p>
<p>use get_uid() or set_uid(0xff0000) in console, click others will also set color</p>
<p>set_uid() without parameter will set a random color </p>
<p>in cosole, `debug=true` will print data model every move, be caution if you have lots stones, it will freeze your
computer</p>
<script src="main.js"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wu-org/gogo.git
git@gitee.com:wu-org/gogo.git
wu-org
gogo
gogo
master

搜索帮助