OpenGL Chess & Checkers

Project Details

Written in C++ with the OpenGL API, this is one of my game programs that allows two people to play against each other through the demonstration of mouse interaction. It registers glut callback functions, mouse pointer events, and manipulates gltranslate functions to increase usability with mouse interaction. The two-dimensional player pieces are drawn as primitive polygon shapes using x/y cartesian coordinates commonly found in pixel grids with matrix algebra. If a player is in check, then that player will not be allowed to move unless they have a means of eliminating their opponents threatening piece. Otherwise, if checkmate is reached, the game is officially over and no move can be made at that point.
At runtime, simply right-click to bring up the choice menu to choose between chess or checkers, which player goes first and multiple color schemes.