Index: .gitignore
===================================================================
--- .gitignore	(revision 850e84cd39c5b8cbe8e3dc8e90fb891b04fcdd8c)
+++ .gitignore	(revision e8ebc76ae31b89c3c16dd14ad1f104ed4dd37c46)
@@ -1,2 +1,3 @@
+spacegame
 vulkangame
 newgame
Index: main.cpp
===================================================================
--- main.cpp	(revision e8ebc76ae31b89c3c16dd14ad1f104ed4dd37c46)
+++ main.cpp	(revision e8ebc76ae31b89c3c16dd14ad1f104ed4dd37c46)
@@ -0,0 +1,29 @@
+#include "space-game.hpp"
+
+#include <iostream>
+
+using namespace std;
+
+int main(int argc, char* argv[]) {
+
+#ifdef NDEBUG
+   cout << "DEBUGGING IS OFF" << endl;
+#else
+   cout << "DEBUGGING IS ON" << endl;
+#endif
+
+   cout << "Starting Space Game..." << endl;
+
+   SpaceGame game;
+
+   try {
+      game.run();
+   } catch (const exception& e) {
+      cerr << e.what() << endl;
+      return EXIT_FAILURE;
+   }
+
+   cout << "Finished running the game" << endl;
+
+   return EXIT_SUCCESS;
+}
Index: makefile
===================================================================
--- makefile	(revision 850e84cd39c5b8cbe8e3dc8e90fb891b04fcdd8c)
+++ makefile	(revision e8ebc76ae31b89c3c16dd14ad1f104ed4dd37c46)
@@ -56,5 +56,5 @@
 	$(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS)
 
-spacegame: space-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp
+spacegame: main.cpp space-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp
 	$(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS)
 
Index: space-game.cpp
===================================================================
--- space-game.cpp	(revision 850e84cd39c5b8cbe8e3dc8e90fb891b04fcdd8c)
+++ space-game.cpp	(revision e8ebc76ae31b89c3c16dd14ad1f104ed4dd37c46)
@@ -1,23 +1,4 @@
-int main(int argc, char* argv[]) {
+#include "space-game.hpp"
 
-#ifdef NDEBUG
-   cout << "DEBUGGING IS OFF" << endl;
-#else
-   cout << "DEBUGGING IS ON" << endl;
-#endif
-
-   cout << "Starting Vulkan game..." << endl;
-
-   VulkanGame game;
-
-   try {
-      game.run();
-   } catch (const exception& e) {
-      cerr << e.what() << endl;
-      return EXIT_FAILURE;
-   }
-
-   cout << "Finished running the game" << endl;
-
-   return EXIT_SUCCESS;
+void SpaceGame::run() {
 }
Index: space-game.hpp
===================================================================
--- space-game.hpp	(revision e8ebc76ae31b89c3c16dd14ad1f104ed4dd37c46)
+++ space-game.hpp	(revision e8ebc76ae31b89c3c16dd14ad1f104ed4dd37c46)
@@ -0,0 +1,9 @@
+#ifndef _SPACE_GAME_H
+#define _SPACE_GAME_H
+
+class SpaceGame {
+   public:
+      void run();
+};
+
+#endif // _SPACE_GAME_H
