diff --git a/BaronDestinatr.js b/BaronDestinatr.js index fd1edf9..7c8ba14 100644 --- a/BaronDestinatr.js +++ b/BaronDestinatr.js @@ -29,8 +29,18 @@ function PlayerVM(Name, Color) //Represents a Game function GameVM(PlayerCount) { + var self = this; if(PlayerCount == null) PlayerCount = 4; //default this.PlayerCount = ko.observable(PlayerCount); + this.Players = ko.observableArray(); + + this.Start = function() + { + for(var i = 0, l = self.PlayerCount();i