Counter and game_over logic

This and previous 2 commits need testing