game working with some bugs