Skip to content

Commit

Permalink
jhlywa#319: add null move functionality: prettify code
Browse files Browse the repository at this point in the history
  • Loading branch information
ppeloton committed Mar 23, 2024
1 parent 256746c commit 1b50b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ export class Chess {

//first implementation of null with a dummy move (black king moves from a8 to a8), maybe this can be implemented better
if (cleanMove == SAN_NULLMOVE) {
let res: InternalMove = {
const res: InternalMove = {
color: this._turn,
from: 0,
to: 0,
Expand Down

0 comments on commit 1b50b1a

Please sign in to comment.