Chess Video Game

2022
Strasbourg, France

Motivation

Having already tackled Object Oriented Programming (OOP) in Python by making Crazy Driver, I was thrilled at the idea of mixing my newly aquired C skills with OOP. The OOP lecture during my first year at Télécom Physique Strasbourg gave me this opportunity. The final goal of this course was to create a chess video game in C++.

Let's play!!

Having familiarised myself with the rules of chess (I am definitly not a great chess player 😅) I started to create all the required classes and subclasses in which I could implement all the features. I quickly obtained a basic chess video game playable in the shell.

Chess video game in shell

Gameplay improvement

As the goal of the lecture was to learn OOP I could have stopped there... But I am deeply passionate about computer graphics and I wanted my game to look cool. I decided to learn how to create a Graphic User Interface (GUI) for my video game. At that time the easiest way was to use the Simple DirectMedia Layer (SDL). Following Lazy Foo' Productions SDL tutorials, I managed to build a simple, yet functional GUI. Quite nice, isn't it?? 😎

Chess video game GUI