diff --git a/package.json b/package.json index 47605dde3e44a5063041c9846314df9ef56ff145..3faeb526b2ee6c4bf3e5089d811d0252b5d99dc7 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "preview": "vite preview --port 4173" }, "dependencies": { + "@microsoft/fetch-event-source": "^2.0.1", "guess": "^1.0.2", "vue": "^3.2.37" }, diff --git a/src/App.vue b/src/App.vue index 2e490c243ebbcf8cce41eb2890ff95704b193cba..ddc23e586f836f814979dbd138be8cefbaaf4683 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,8 +2,8 @@ import { onMounted, ref } from "vue" import { is_empty, checkWin, robotPlay, is_black, is_white } from "./utils" // 配置 -const size = ref(3) -const win_size = ref(3) +const size = ref(20) +const win_size = ref(5) const lattices = ref([]) let nextPlay = is_black // is_white // 5 连珠的下标