Skip to content

Basics of the Elixir language introduced by creating a simple application based on the Portal game.

Notifications You must be signed in to change notification settings

mtumalewicz/portal_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portal

Simple app based on the Portal game giving user the ability to move data between portals.

How to get started

mix deps.get
mix compile
iex -S mix

Example usage

# Start 2 portals to move data between
Portal.shoot(:blue)
Portal.shoot(:orange)

# Initzialize transfer between 2 portals
data = [1, 2, 3, 4]
portal = Portal.transfer(:blue, :orange, data)

# Move data
portal |> Portal.push(:right)
portal |> Portal.push(:left)

About

Basics of the Elixir language introduced by creating a simple application based on the Portal game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages