Refactor client-side logic into Chess UI file/class.
Add new game functionality.
Refactor checkmate rendering function.