The game can finally detect the end :heart: :kiss:

You're welcome
Merge pull request #1 from himat/master

The game can finally detect the end