Refactor game logic, writes win to winning player
orgainised public folder