experimenting with game events main loop