Combination of 3 separate projects

I wrote 3 separate projects in C++ in Unreal Engine 5. The first project is a room environment where the character can move around in that room. The other project is a bowling game. The latest project is the Space Shooter game. How can I turn these 3 projects into one project with C++ codes? The reason for combining 3 projects is that there will be 2 doors when the character walks around the room. 2 doors represent games. When he opens the bowling door, the Bowling level will be loaded and he will be able to play the Bowling game. How should I combine it?

For unreal assets like blueprints, textures, 3d models or other game assets, you can use the migrate tool to migrate those to another project.

If I were you, I would create a new project, which will be the combination project of all your 3 projects. Then I’d open up each project, select the assets I want to migrate to the new project, and migrate those. Then copy paste the source code files I want to include in the new project. And then when you do that for all 3 projects, go into the new project and fix all the issues that come up, like fixing stuff in the source code most likely, such as the namespace and maybe conflicting class names. And then in the new project you make a level with the doors where each door opens the appropriate mini-game level.