changed order of updating and drawing
Merge branch 'master' of https://github.com/sachaudh/Web_Game