GO: Various changes before 2.6.0 (#1120)

This commit is contained in:
Snarling
2024-02-26 08:05:10 -05:00
committed by GitHub
parent f6871f0911
commit 373ced2efe
62 changed files with 1626 additions and 2135 deletions
+34
View File
@@ -0,0 +1,34 @@
export enum GoOpponent {
none = "No AI",
Netburners = "Netburners",
SlumSnakes = "Slum Snakes",
TheBlackHand = "The Black Hand",
Tetrads = "Tetrads",
Daedalus = "Daedalus",
Illuminati = "Illuminati",
w0r1d_d43m0n = "????????????",
}
export enum GoColor {
white = "White",
black = "Black",
empty = "Empty",
}
export enum GoValidity {
pointBroken = "That node is offline; a piece cannot be placed there",
pointNotEmpty = "That node is already occupied by a piece",
boardRepeated = "It is illegal to repeat prior board states",
noSuicide = "It is illegal to cause your own pieces to be captured",
notYourTurn = "It is not your turn to play",
gameOver = "The game is over",
invalid = "Invalid move",
valid = "Valid move",
}
export enum GoPlayType {
invalid = "invalid",
move = "move",
pass = "pass",
gameOver = "gameOver",
}