Skip to content

Commit

Permalink
Adds stockfish-nnue-16-single.
Browse files Browse the repository at this point in the history
  • Loading branch information
LabinatorSolutions committed May 25, 2024
1 parent 4b9e1e4 commit eec980a
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 3 deletions.
2 changes: 1 addition & 1 deletion implementation-1/js/board-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var

// Init engine

var stockfish = new Worker('js/engine/stockfish-nnue-16.js');
var stockfish = new Worker('js/engine/stockfish-nnue-16-single.js');

function dumpLog(data) {
if (!data) {
Expand Down
14 changes: 14 additions & 0 deletions implementation-1/js/engine/stockfish-nnue-16-single.js

Large diffs are not rendered by default.

Binary file not shown.
14 changes: 14 additions & 0 deletions implementation-2/engine/stockfish-nnue-16-single.js

Large diffs are not rendered by default.

Binary file not shown.
4 changes: 2 additions & 2 deletions implementation-2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ document.addEventListener("DOMContentLoaded", function() {

function engineGame(options) {
options = options || {};
let engine = typeof STOCKFISH === "function" ? STOCKFISH() : new Worker(options.stockfishjs || './engine/stockfish-nnue-16.js');
let evaler = typeof STOCKFISH === "function" ? STOCKFISH() : new Worker(options.stockfishjs || './engine/stockfish-nnue-16.js');
let engine = typeof STOCKFISH === "function" ? STOCKFISH() : new Worker(options.stockfishjs || './engine/stockfish-nnue-16-single.js');
let evaler = typeof STOCKFISH === "function" ? STOCKFISH() : new Worker(options.stockfishjs || './engine/stockfish-nnue-16-single.js');
let engineStatus = {};
let displayScore = true;
let playerColor = 'white';
Expand Down

0 comments on commit eec980a

Please sign in to comment.