Systems and methods for applying a modification microservice to a game instance
A method for implementing a modification microservice with a game cloud system is described. The method includes executing a game instance of a game. The game instance is executed using a plurality of microservices assembled for the game instance. The method further includes accessing a modification microservice engineered to be executed with the game instance. The modification microservice adds a compute capability to the game instance. The modification microservice is executed outside of a server system in which the plurality of microservices is assembled for the game instance. Also, the modification microservice is accessed by one or more application programming interface (API) calls that obtain results data from said execution of the modification microservice. The one or more API calls are managed via a modification interface that manages the access to the modification microservice and use of the results data by the game instance.
1. A method for implementing a modification microservice with a game cloud system, comprising:
executing, by the game cloud system, a game instance of a game, wherein the game instance is executed using a plurality of microservices assembled for the game instance;
receiving an application programming interface (API) call from the modification microservice;
modifying a microservices map based on the API call;
enabling communication between the game instance and the modification microservice upon determining that the API call is valid; and
accessing the modification microservice engineered to be executed with the game instance, wherein the modification microservice is configured to add a compute capability to the game instance, wherein the modification microservice is configured to be executed outside of a server system in which the plurality of microservices is assembled for the game instance, wherein the modification microservice is configured to be accessed by the API call that obtains results data from said execution of the modification microservice,
wherein the API call is managed via a modification interface that manages said accessing of the modification microservice and use of the results data by said game instance.
2. The method of claim 1 , further comprising:
receiving a second API call from the modification microservice;
determining whether the second API call is valid; and
denying the second API call upon determining that the second API call is invalid.
3. The method of claim 2 , wherein said denying the second API call includes not providing the second API call to the game instance.
4. The method of claim 1 , wherein the modification microservice cannot be integrated into the game instance.
5. The method of claim 1 , wherein the game instance includes a game logic and a game engine, the method further comprising obfuscating the game logic and the game engine from the modification microservice.
6. The method of claim 1 , further comprising:
determining whether a response to the API call includes data other than the results data; and
denying the response upon determining that the API call includes the data other than the results data.
7. The method of claim 1 , further comprising:
determining whether a response to the API call includes data other than the results data; and
allowing the response upon determining that the API call does not include the data other than the results data.
8. The method of claim 1 , wherein the modification microservice is configured to be stored in a cloud system that is coupled to the game cloud system via a computer network to be executed outside of the server system.
9. The method of claim 1 , wherein the modification microservice is configured to be stored in an isolated server system within the game cloud system to be executed outside of the server system, wherein the game instance is configured to be stored in the server system of the game cloud system.
10. The method of claim 1 , wherein the compute capability includes implementing an artificial intelligence (AI) model to be trained based on gameplay of the game by a user.
11. The method of claim 1 , wherein the game instance includes an instance of execution of a game engine, an instance of execution of a game code, and one or more instances of execution of one or more of the plurality of microservices.
12. A system for implementing a modification microservice with a game cloud system, comprising:
the game cloud system configured to execute a game instance of a game, wherein the game instance is executed using a plurality of microservices assembled for the game instance, wherein the modification microservice includes:
a security engine;
an API processor coupled to the security engine; and
a microservices connection manager coupled to the API processor,
wherein the security engine is configured to:
receive an API call from the modification microservice;
wherein the API processor is configured to modify a microservices map based on the API call,
wherein the microservices connection manager is configured to enable communication between the game instance and the modification microservice upon determining that that the API call is valid; and
the modification microservice, wherein the game cloud system is configured to access the modification microservice engineered to be executed with the game instance, wherein the modification microservice is configured to add a compute capability to the game instance, wherein the modification microservice is configured to be executed outside of a server system in which the plurality of microservices is assembled for the game instance, wherein the modification microservice is configured to be accessed by the API call to obtain results data, wherein the results data is generated when the modification microservice is executed,
wherein the game cloud system includes a modification interface configured to manage the access to the modification microservice and use of the results data by the game instance.
13. The system of claim 12 , wherein the modification microservice includes a security engine configured to:
receive a second API call from the modification microservice;
determine whether the second API call is valid; and
deny the second API call upon determining that the second API call is invalid.
14. The system of claim 13 , wherein to deny the second API call, the security engine is configured to not provide the second API call to the game instance.
15. The system of claim 12 , wherein the modification microservice cannot be integrated into the game instance.
16. The system of claim 12 , wherein the game instance includes a game logic and a game engine, the system further comprising obfuscating the game logic and the game engine from the modification microservice.
17. A non-transitory computer-readable medium containing program instructions for implementing a modification microservice with a game cloud system, wherein execution of the program instructions by one or more processors of a computer system causes the one or more processors to carry out operations of:
executing, by the game cloud system, a game instance of a game, wherein the game instance is executed using a plurality of microservices assembled for the game instance;
receiving an application programming interface (API) call from the modification microservice;
modifying a microservices map based on the API call;
enabling communication between the game instance and the modification microservice upon determining that the API call is valid; and
accessing the modification microservice engineered to be executed with the game instance, wherein the modification microservice is configured to add a compute capability to the game instance, wherein the modification microservice is configured to be executed outside of a server system in which the plurality of microservices is assembled for the game instance, wherein the modification microservice is configured to be accessed by the API call that obtain results data from said execution of the modification microservice,
wherein the API call is managed via a modification interface that manages said accessing of the modification microservice and use of the results data by said game instance.
18. The non-transitory computer-readable medium of claim 17 , wherein the operations comprise:
receiving a second API call from the modification microservice;
determining whether the second API call is valid; and
denying the second API call upon determining that the second API call is invalid.