implemented game skeleton