ymichael / everdell

🐿️ Play Everdell Online!
https://everdell.vercel.app/
MIT License
34 stars 11 forks source link

Monk giving 2 berries when opponents ended game issue #66

Closed kentemere closed 2 years ago

kentemere commented 2 years ago

Just having a 2 player game alone. Player 2 ended the game. Player 1 activated monk, but when I should select the player to give 2 berries, I have no options, so I can't continue the game.

To Reproduce

  1. End the game with all players except one.
  2. Make the last player play monk
  3. See error

Expected behavior You give one player who ended the game 2 berries, or you can't use the Monk card if there are no player left. Actually I don't know how official rules applies here.

Screenshots 1 2

Browser / Device Info (if relevant):

elynnlee commented 2 years ago

@kentemere do you mind providing your game link (or the spectator link for your game)? Happy to take a look into this.

kentemere commented 2 years ago

Sure! https://everdell.vercel.app/game/tbdZEfB4RuC5zLWYfcauej

elynnlee commented 2 years ago

Hi!! Thanks for waiting -- I figured out the issue and have pushed a fix. The change will deploy soon. Sorry for the inconvenience this caused, and thank you for reporting the issue!