game ends when all cards have been played, evetyhing working v1 - but no ajax