Skip to content

Commit a75b1e0

Browse files
committed
fixed port issue
1 parent 6bcbfa4 commit a75b1e0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

client/src/utils/findBestMove.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ interface MoveJsonData {
1111
/**
1212
* Does a ton of checks and gets the best move
1313
*/
14-
export = (board: Board, maxThinkTime: number): [boolean, string, Instance?, Instance?] => {
14+
export = (
15+
board: Board,
16+
maxThinkTime: number
17+
): [boolean, string, Instance?, Instance?] => {
1518
if (!board.isPlayerTurn()) return [false, "not your turn"]
1619

1720
if (board.willCauseDesync()[1] !== undefined) {

server/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use utils::{
1818
SolveQueryParams, SolveResponse,
1919
};
2020

21-
const PORT: u16 = 1234;
21+
const PORT: u16 = 3000;
2222

2323
struct AppState {
2424
engine: Arc<Mutex<Engine>>,

0 commit comments

Comments
 (0)