Closed bestrandomnameever closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/wardmaes/hive/lflae6mpw
✅ Preview: https://hive-git-feature-insectselecimprov.wardmaes.vercel.app
@bestrandomnameever To recreate the bug: start game with 2 players, when both players have done 3 moves, the first player is unable to select anything other than his queen, but the second player is still able to click other insects in the InsectSelector
and can thus place another insect, even if the queen hasn't been placed yet.
The cursor shows the player is not able to click other insects (which is correct), but they are still clickable
@WardMaes Everything besides the fixed width insects in the insectPicker should now have been fixed.
@bestrandomnameever To recreate the bug: start game with 2 players, when both players have done 3 moves, the first player is unable to select anything other than his queen, but the second player is still able to click other insects in the
InsectSelector
and can thus place another insect, even if the queen hasn't been placed yet. The cursor shows the player is not able to click other insects (which is correct), but they are still clickable
This bug now fixed as well.
Main contribution: enforce placing queen by 4th turn in UI. Some other small fixes and improvements.