Finish gamestate switch and ai simple logic

Finish gamestate switch and wait for human action
Add Ai simple logic:attack,defend,and,discard.