Skip to content

Commit

Permalink
Update variable
Browse files Browse the repository at this point in the history
  • Loading branch information
billmei committed Jan 25, 2024
1 parent d9b148b commit e30edf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/battleboat.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ console.log("If you want to try stuff out, run %csetDebug(true);%c in the " +
"background: #000; color: #0f0; padding: 2px 5px; border-radius: 2px;", "");

// Global Constants
var DEBUG_MODE = localStorage.getItem('DEBUG_MODE') === 'true';
var CONST = {};
CONST.AVAILABLE_SHIPS = ['carrier', 'battleship', 'destroyer', 'submarine', 'patrolboat'];
// You are player 0 and the computer is player 1
Expand Down

0 comments on commit e30edf2

Please sign in to comment.