This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Positions = { | |
SOLDIER: 0, | |
CANNON: 1, | |
SPY: 2, | |
CAPTAIN: 3, | |
GENERAL: 4 | |
}; | |
var Moves = { | |
NONE: [0], | |
MOVE: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//ATTENTION: | |
//Paste this code into the Developer Console on about:blank, and press enter. To activate, type activateCanvas(fps, turns) | |
var botData = | |
[ | |
{ | |
name: "Bot Name", | |
run: function() { | |
//function | |
} |