Skip to content
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.

rvcas/portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portal

Practicing some pure elixir/erlang concepts to keep it fresh, phoenix is great but staying sharp with elixir will only help. This is the portal game from a post by the creator himself.

Ultimately we end up with a supervisor that can handle an arbitrary number of children. These children are each an Agent whose state represents a stack. Standard Push and Pop operations can be performed on the stack. The cool part involves popping from one agent and pushing on to another, thus transfering values.

Releases

No releases published

Packages

No packages published

Languages