Skip to content

Instantly share code, notes, and snippets.

@badosu
Last active February 29, 2020 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badosu/2963ac1cfbcdf661d4829b92c2c5e45c to your computer and use it in GitHub Desktop.
Save badosu/2963ac1cfbcdf661d4829b92c2c5e45c to your computer and use it in GitHub Desktop.
let playerPlacements = playerPlacementCircle(fractionToTiles(0.35));
let playerIDs = [];
for (let i = 0; i < getNumPlayers(); ++i)
playerIDs.push(i+1);
playerPlacements[0] = playerIDs;
placePlayerBases({
"PlayerPlacement": playerPlacements,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment