diff options
author | nil <niljo@airmail.cc> | 2024-12-18 17:53:17 +0100 |
---|---|---|
committer | nil <niljo@airmail.cc> | 2024-12-18 17:53:17 +0100 |
commit | 2303968dc24664d1fb4383d019420e7ddcf06b8a (patch) | |
tree | dfd0193a6cc1178c193ed1c6ccce0c427cf4f0fd /src/engine/death.js | |
parent | 7b005bc02b1e73c71f8cb8f4e03b6fe6ff420c67 (diff) |
Diffstat (limited to 'src/engine/death.js')
-rw-r--r-- | src/engine/death.js | 8 |
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) +} |