Skip to content

RaymondLoranger/islands_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Islands Engine

Models the Game of Islands.

Based on the book Functional Web Development by Lance Halvorsen.

Installation

Add islands_engine to your list of dependencies in mix.exs:

def deps do
  [
    {:islands_engine, "~> 0.1"}
  ]
end

Supervision Tree

The highlighted processes below (supervisor and servers) are fault-tolerant: if any crashes (or is killed), it is immediately restarted and the system remains undisturbed.

The processes identified by their PIDs are game servers: each holds a game struct as its state. Multiple games can be played simultaneously.

engine_app

About

Models the Game of Islands.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages