some changes in game flow(not finished yet)

I have an exam in 10 mins. I will show you my logic later today.