Skip to content

Commit

Permalink
Update game version to 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
FeXd committed Feb 10, 2024
1 parent 1e4cb4a commit cddfa24
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ let game = new Game();
const fenPositions = ['a8', 'b8', 'c8', 'd8', 'e8', 'f8', 'g8', 'h8', 'a7', 'b7', 'c7', 'd7', 'e7', 'f7', 'g7', 'h7', 'a6', 'b6', 'c6', 'd6', 'e6', 'f6', 'g6', 'h6', 'a5', 'b5', 'c5', 'd5', 'e5', 'f5', 'g5', 'h5', 'a4', 'b4', 'c4', 'd4', 'e4', 'f4', 'g4', 'h4', 'a3', 'b3', 'c3', 'd3', 'e3', 'f3', 'g3', 'h3', 'a2', 'b2', 'c2', 'd2', 'e2', 'f2', 'g2', 'h2', 'a1', 'b1', 'c1', 'd1', 'e1', 'f1', 'g1', 'h1'];
const pieces = ['r', 'n', 'b', 'q', 'k', 'p', 'R', 'N', 'B', 'Q', 'K', 'P'];
const speed = 300;
const game_version = '0.0.2';

let puzzle_solved = false;
let puzzle_solved_clean = true;
Expand Down Expand Up @@ -342,7 +343,7 @@ function updateDebug() {

function updateGameInfo() {
document.getElementById('game-info').innerHTML = `
<em>Build v0.0.1</em><br>
<em>Build v${game_version}</em><br>
Current Rating: <strong>${getLocalPlayerRating()}</strong><br>
`;
}
Expand Down

0 comments on commit cddfa24

Please sign in to comment.