Skip to content

Elixir solution of classic interview code exercise robot simulator from Edward Zhou

Notifications You must be signed in to change notification settings

edxzh/edward_robot

Repository files navigation

Edward Robot

CircleCI

About

This project is an Elixir solution for the classic code exercise: toy robot simulator

Custodian

Edward Zhou(edwardzhou1990@gmail.com)

Envrionment

Elixir 1.13 or Docker

Install

if Elixir 1.13 has been installed on your local

$ mix deps.get

if not please use docker

$ docker build -t edward_robot .

Usage

open iex

$ iex -S mix

or

$ docker run -ti edward_robot iex -S mix
iex> place 5, 5, :east
iex> move
iex> left
iex> right
iex> report
iex> move
iex> report

Development

Testing

$ mix test

Style check

$ mix credo

About

Elixir solution of classic interview code exercise robot simulator from Edward Zhou

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published