summaryrefslogtreecommitdiff
path: root/src/engine/death.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/death.js')
-rw-r--r--src/engine/death.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/death.js b/src/engine/death.js
new file mode 100644
index 0000000..a67c48e
--- /dev/null
+++ b/src/engine/death.js
@@ -0,0 +1,8 @@
+import {} from "../engine/liberty.js"
+import { getPiece } from "../engine/getPiece.js"
+import { PLAYER } from "../constants.js"
+
+export function removeDeadStones(move) {
+ let team = PLAYER.OPPOSITE(getPiece(move).team)
+ console.log(team)
+}