Strategy game on the browser using three.js