Erlang (programming language)/Tutorials/gen server

Example program for the OTP behaviour, gen_server.

Here is an example program using gen_server to create a simple text game.