landenf / Settlers-of-Catan

Multiplayer Online version of Settlers of Catan
https://catan-4dea2.web.app
2 stars 0 forks source link

64-back-end-funciton-of-storing-roads-settlements-cities #96

Closed ebelashchenko2 closed 2 months ago

ebelashchenko2 commented 2 months ago

functionality for building a road!!!

When buying a road, the color updates on the frontend. On the backend, the player's resources are updated, as well as the information for the roads and settlements.

to see how it works, comment out 148-150 in gameplay.ts because there's currently nothing in a player's potential roads.