How can I create an XCOM-like grid system via C++?

What would be the best way to approach this? Tutorials on YT are all in blueprints and I was wondering is there a way to create a customizable grid actor in C++?

I am trying to recreate parts of this asset:

I want to learn how its done rather than just buying the asset if that makes sense. Since I am asking here, I will also add that if anyone has any good resource regarding turn based games in Unreal with C++, please do share them. I haven’t found much on the topic.

There’s a legacy sample released by Epic exactly for this:

It’s mostly Blueprint I believe, but most of the core ideas can be translated into C++ and the blueprints can be reverse engineered.

Thanks for sharing, I will look at it. Always good to have something concrete to look at, I’ll try my best to convert it to C++. Don’t know why but I work easier with it rather than BPs :slight_smile: