|
@@ -74,6 +74,7 @@
|
|
|
<div class="operate-container">
|
|
|
<button class="custom-button" id="atuo_btn" onclick="begin_paticipate()">自动打熊</button>
|
|
|
<button class="custom-button" id="resetScript_btn" onclick="reset_script()">重置脚本</button>
|
|
|
+ <button class="custom-button" id="closegame_btn" onclick="close_game()">关闭游戏</button>
|
|
|
<button class="custom-button" id="restartgame_btn" onclick="restart_game()">重新关闭并自动游戏</button>
|
|
|
<button class="custom-button" id="atuo_btn" onclick="begin_auto()">自动模式</button>
|
|
|
</div>
|
|
@@ -197,6 +198,11 @@
|
|
|
{
|
|
|
socket.emit('restart_game');
|
|
|
}
|
|
|
+
|
|
|
+ function close_game()
|
|
|
+ {
|
|
|
+ socket.emit('close_game');
|
|
|
+ }
|
|
|
function get_title()
|
|
|
{
|
|
|
socket.emit('get_title');
|