From 2303968dc24664d1fb4383d019420e7ddcf06b8a Mon Sep 17 00:00:00 2001 From: nil Date: Wed, 18 Dec 2024 17:53:17 +0100 Subject: progress --- src/engine/death.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/engine/death.js (limited to 'src/engine/death.js') 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) +} -- cgit v1.2.3