Skip to content

AashishChakravarty/toy-robot-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy Robot Simulator

Toy Robot Simulator Problem Solution in Elixir

Prerequisite

  • Elixir

Run

iex -S mix


#Examples

iex> place 0, 0, :north
iex> move
iex> report
{0, 1, :north}

iex> place 0, 0, :north
iex> left
iex> report
{0, 0, :west}

iex> place 1, 2, :east
iex> move
iex> move
iex> left
iex> move
iex> report
{3, 3, :north}

Run Test

mix test

About

Toy Robot Simulator Problem Solution in Elixir

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages