# Showcasing SDL2 game engine in a robotics application

**URL:** <https://discourse.libsdl.org/t/showcasing-sdl2-game-engine-in-a-robotics-application/43040>\
**Category:** Game Development\
**Created:** [March 10, 2023, 1:06pm UTC](https://discourse.libsdl.org/t/showcasing-sdl2-game-engine-in-a-robotics-application/43040 "2023-03-10T13:06:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nmviper](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/nmviper/32/4974_2.png) [@nmviper](https://discourse.libsdl.org/u/nmviper)\
**Post date:** [March 10, 2023, 1:06pm UTC](https://discourse.libsdl.org/t/showcasing-sdl2-game-engine-in-a-robotics-application/43040/1 "2023-03-10T13:06:59Z")

</div>

Hello, good people,

I would like to showcase my personal implementation of a hobby [C++ 2D game engine](https://github.com/zhivkopetrov/game_engine) build upon SDL2 family of libraries.  
I’ve created many interesting projects based on it, but probably my proudest achievement is integrating it into the robotics application domain.

I was able to construct an [educational C++ robotics repository](https://github.com/zhivkopetrov/robotics_v1) aimed at teaching robotics enthusiasts entry-level robotics concepts.  
In late 2022 I used that repository while conducting complete robotics training for a group of 30+ people. If you are interested - more information and videos can be found in the above-listed repo.

The “SDL part” of the training consisted of several competitive visual mini-games.  
In each game, the student’s goal was to control a Roomba-like robot and had to fulfill different tasks.  
A short video demonstrating all of the “Robo Games” [video link](https://drive.google.com/file/d/1osC4_TiuCQHXqmqqzrN4z4umg4y7DM3Q/view?usp=sharing).

Last, but not least (and sadly not directly SDL related) - the same repository was used to make an actual robot play jenga and even give away roses ([video link](https://drive.google.com/file/d/1aDdi4aRasbrW8d9vSARaVoCD6TuCMXXV/view?usp=sharing)).  
The rose-giving part was an idea of mine for International Women’s Day for my fellow female colleagues. Feel free to ignore my “pretty” face on the video, where I test the setup 🙂

Why am I showcasing this?

- To give a fresh example of SDL usage and hopefully to get a smile out of you
- To help someone with the issues I’ve managed to solve in the [repository](https://github.com/zhivkopetrov/robotics_v1) throughout the years
- To get feedback. Positive, negative, or constructive criticism - all are welcome

If you’ve liked what I’ve done - I would be really grateful if you comment, share, or even star the repository.

Cheers
