Sha256: 3b1d5223695827d85bbe7bc922506aec39be17e4d8ea264979725a5a4d7ec35f

Contents?: true

Size: 507 Bytes

Versions: 69

Compression:

Stored size: 507 Bytes

Contents

defmodule SecretHandshake do
  @doc """
  Determine the actions of a secret handshake based on the binary
  representation of the given `code`.

  If the following bits are set, include the corresponding action in your list
  of commands, in order from lowest to highest.

  1 = wink
  10 = double blink
  100 = close your eyes
  1000 = jump

  10000 = Reverse the order of the operations in the secret handshake
  """
  @spec commands(code :: integer) :: list(String.t())
  def commands(code) do
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.179 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.178 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.177 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.176 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.175 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.174 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.173 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.172 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.171 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.170 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.169 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.167 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.166 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.165 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.164 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.163 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.162 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.161 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.160 tracks/elixir/exercises/secret-handshake/secret_handshake.exs