|
Where am I?
hosting > /games/ > /chess/ |
< Back |
Extending our earlier examples which build up the chess board using HTML to model the informational structure, now we come to naming the positions. This will be important because this is one way in which chess players communicate moves or other details about the disposition of the chess board.
Additionally, for our purposes, I anticipate that we'll use these positions to help sew up the algorithms we'll be using in the programming to discover and/or enforce possible player moves, scoring, and determining when a victory, defeat, or draw has occurred. Another way of describing this would be to say if the visual, auditory, or tactile components of the game represent the qualitative basis on which the game is enjoyed, this more mundane, rigid detail serves the quantitative role, where the rules manifest.
Code View:
| < Back |