I\'m trying to make a poker game. the game has to wait for human input sometimes and then continue. so I used the promise mechanism but it\'s not working. my code is executi