Implementing ticker

Tick function to update the game every 30 seconds
Parameterized game FPS