Game loop

@lodr @Raspikabek