Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 603 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 603 Bytes

OpenGL Simple Chessboard GUI

This repository contains a simple user interface for a chess game developed using OpenGL. Different pieces are represented by different built-in shapes in OpenGL.

chessboard image

Viewpoint and lighting can be adjusted based on the following commands:

r : Rotate the board

u : Move the viewpoint up.

d : Move the viewpoint down.

0 and 1 : Control lighting

k or p : Move a knight or pawn randomly

To compile and run on Linux (ensure OpenGL and GLUT are installed):

g++ chess_gui.cpp -lGL -lGLU -lglut
./a.out