fix send mail
change game logic, add resources
Merge pull request #6 from ngocdu/master

change logic when game finish