Connect the game logic with UI. still have bugs
Merge branch 'dev' of https://github.com/piaoasd123/MAD into dev