diff --git a/src/utils/index.js b/src/utils/index.js index e9e55e71cd4d36b5b8d7e0877e047bd85ae079ef..c1906b38cdd2995668ae89141885e7920261b69a 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -1,9 +1,9 @@ -export const is_empty = 0; +export const is_empty = 'e'; /** * 机器人 */ -export const is_white = 1; -export const is_black = 2; +export const is_white = 'w'; +export const is_black = 'b'; /** * [y, x] === [row, col] === [行,列] */