mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
GO: Alternate fix for race conditions (#1260)
This commit is contained in:
+11
-5
@@ -51,11 +51,17 @@ export type PointState = {
|
||||
y: number;
|
||||
};
|
||||
|
||||
export type Play = {
|
||||
type: GoPlayType;
|
||||
x: number | null;
|
||||
y: number | null;
|
||||
};
|
||||
export type Play =
|
||||
| {
|
||||
type: GoPlayType.move;
|
||||
x: number;
|
||||
y: number;
|
||||
}
|
||||
| {
|
||||
type: GoPlayType.gameOver | GoPlayType.pass;
|
||||
x: null;
|
||||
y: null;
|
||||
};
|
||||
|
||||
export type Neighbor = {
|
||||
north: PointState | null;
|
||||
|
||||
Reference in New Issue
Block a user