Working singleplayer square game with framework for networking