Skip to content
nautuan edited this page Aug 27, 2024 · 17 revisions

Gama Server Middleware is a tool made for creating multiplayer games using Gama. It requires the parallel use of Gama Server in order to function. Gama Server Middleware server that can connect to Gama Server and allows players to play to a Gama modelized game. This server can monitor every connections. Thanks to the latter, Gama model doesn't need to manage connections with the players, it simply needs to implement in the simulation the commands of what a player can do and indicate which outputs need to be retrieved at each simulation cycle.

Table of contents

Introduction to Gama & Gama Server

  • Gama is an agent-based modeling software. It uses a special programming language called GAML to describe simulation sequences.
  • Gama Server is a server that can launch and run simulations using a web client connecting via Websocket.
  • Gama Server Middleware is able to manage external connections to Gama and to connect to a Gama simulation using Gama Server.

Tip

Before going any further, you should familiarize yourself with Gama and Gama Server in particular.

For more information on Gama: Please see the platform https://gama-platform.org/

For more informations on Gama Server: Please see the platform https://gama-platform.org/wiki/HeadlessServer

Introduction to Gama Server Middleware

The overall principle is as follows: Gama Server Middleware connects to Gama Server and acts as its controller. It can load simulations, start and stop them, as well as send requests to provide information to the simulation.

On the other hand, Gama Server Middleware creates a Websocket server where clients (players) can connect and access the simulation.

Gama Server Middleware