Declared player 1 and 2 in an array of objects and called the init function.