A Serverless Framework for Transaction-Based Games
Wade Muncy / wmuncy@bellarmine.edu / Faculty
Advisor: Nathan P. Johnson
Serverless computing, a cloud-based service, is becoming a widespread,
popular way to provide scalable low-cost software functionality. The result of
this research is a serverless framework for event-driven, turn-based
transactions. This project uses AWS Lambda to create a framework for a
turn-based online game. The project is built within the Amazon Web Services
ecosystem of services and will allow game states to be stored as easily
identified and managed generic game files using S3 cloud storage. Connections
will be handled using ASP.Net Core Web API.
The game implemented in this project is a checkers game. Each turn is executed
and data, including game game creation, matchmaking and board position, is sent
to each client as needed by software running in the cloud without the overhead
of purchasing and provisioning a server. The local client manages the graphics,
sending and connecting to the cloud, and basic game logic.
The framework developed for this project could be applied in many different
applications that manage online connectivity and data in a transactional,
turn-based manner. Other simple use cases might include chat programs, change
logs or history data.