TKPending / ChessGame

HTML and Javascript Chess Game
0 stars 0 forks source link

CG-20 Change tile colour #29

Closed TKPending closed 9 months ago

TKPending commented 9 months ago

Make user interface indicate that the king is in trouble by either changing the colour of the tile, or making the potential moves red.

TKPending commented 9 months ago

Going to implement this feature later on. Deciding to focus on the functionality of the game over, the user interface. I did create some logic which prevents user from making moves when it isn't their turn. The tile of those piece/tiles, will turn red if it isn't their turn.