Chess

Back to projects list

CanvasGame searchHTML UI

As with other two-person board games, there are a number of aspects you could implement.

Rendering the chess board can be done with a Canvas (similar to the Chess board playground) or with HTML. Using Canvas will give you more control but also requires you to do more work to draw things exactly.

You can render the pieces with the Unicode chess characters like in the Chess board playground or you could figure out how to use images or even write code to draw them yourself.

Independent of drawing the board and letting players play, you could also experiment with writing a computer player. While chess is much more complex than, say, tic tac toe, the same basic principles of game search apply. The trick with chess is you need a way to evaluate how good an arbitrary position is since you can't search all the way to the end of the game the way you can with tic tac toe. Writing a good chess player is a major project but coming up with something that at least plays some kind of not terrible chess might be a doable but ambitious project.