game logic and interface functioning from start to finish