bugfixes and added game result to alert message