agones.dev/agones@v1.54.0/examples/cpp-simple/README.md (about) 1 # Simple C++ Example 2 3 This is a very simple "server" that doesn't do much other than show how the SDK works in C++. 4 5 It will 6 - Setup the Agones SDK 7 - Call `SDK::Ready()` to register that it is ready with Agones. 8 - Every 10 seconds, write a log showing how long it has been running for 9 - After 60 seconds, call `SDK::Shutdown()` to shut the server down. 10 11 To learn how to deploy this example service to GKE, please see the tutorial [Build and Run a Simple Gameserver (C++)](https://agones.dev/site/docs/tutorials/simple-gameserver-cpp/). 12 13 ## Building 14 15 If you want to modify the source code and/or build an updated container image, run `make build` from this directory. 16 This will run the `docker build` command with the correct context. 17 18 This example uses the [Docker builder pattern](https://docs.docker.com/develop/develop-images/multistage-build/) to 19 build the SDK, example and host it inside a container.