From 783e74876b324244270721deda2df217ea9ba4f6 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 13 Jan 2022 00:40:45 +0100 Subject: Fix some signatures --- draughts/game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/draughts/game.js b/draughts/game.js index aa0bb6c..db9795a 100644 --- a/draughts/game.js +++ b/draughts/game.js @@ -211,7 +211,7 @@ Game.prototype.messageClient = function(msg, ws) { /* * Signature: - * (Nothing) => { x: Number, y: Number, captures: Piece[] }[] + * () => { x: Number, y: Number, captures: Piece[] }[] * * Description: * Return all of the moves that can legally be made on the current turn of the game. The format @@ -253,7 +253,7 @@ Game.prototype.legalMoves = function() { /* * Signature: - * (Nothing) => Nothing + * () => Nothing * * Description: * Initiate the next turn of the game. This is done by swapping the player that the `currentTurn' -- cgit v1.2.3