basic setup for creating games and timer