saving before puting game in gameThread
threaddssssss