neu-cs4530 / spring24-project-team-208

spring24-project-team-208 created by GitHub Classroom
https://coveytownbattleship.onrender.com/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Update documentation for boards and controller on frontend #23

Closed alinachiu closed 7 months ago

alinachiu commented 7 months ago

Clarify the behavior for how boards are displayed on the frontend.

Added new skeleton classes for green and blue boards since there was originally only one board. Specified behavior for how cells should be displayed to players (either hiding the boats from the users or showing them). Boats should be hidden if the current user is the color's opponent or if the current user is an observer. They should be displayed if the board is owned by the current user.

e.g. If the current user is blue and they view the green board, they should not see the green player's boats and should only see their guesses (hits or misses). Additionally, they can also see their own boats when viewing the blue board component.