3D Checkers

c++ openGL application of the classic game checkers

James Nishijima

This project is an incomplete implementation of the game Checkers. It does not support a tile becoming a king tile upon reaching the end, or multiple jumps if a tile can jump more than once. This program supports mouse clicking on the tiles, no matter what way the board is rotated.The arrow keys are used to rotate the board. The program will end once all of one player's tiles have been taken.

Implementation Details

The board, along with the checker tiles, were made from scratch and transformed using translation, rotation, and scaling. Tiles are able to be selected through a mouse click which turned out to be more complicated than one would think. The mouse click will require going from pixel space to world space. In the graphics pipeline, points are transformed from world space to pixel space, so going backwards required use of the glm function: unProject, which will "unProject" a point from pixel space back to world space.

When a tile is taken over, it will be removed from the board, and a particle animation will be shown from the tile that was taken over. This required the use of particles to model the tile exploding.

References

1. unProject documentation: https://glm.g-truc.net/0.9.2/api/a00245.html

2. Lab 3: openGL(for mouse click)

3. Lab 10: particles