Sha256: d79d9d1c95d00352395eb054a2614d9eb7f2dbd26da96b44248c5cfb3a2b2e1f

Contents?: true

Size: 508 Bytes

Versions: 188

Compression:

Stored size: 508 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

188 entries across 188 versions & 1 rubygems

Version Path
trackler-2.2.1.9 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.8 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.7 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.6 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.5 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.4 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.3 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.2 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.1 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.1.0 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.0.6 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.0.5 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.0.4 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.0.3 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.0.2 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.0.1 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.2.0.0 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.1.0.55 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.1.0.54 tracks/elixir/exercises/secret-handshake/secret_handshake.exs
trackler-2.1.0.53 tracks/elixir/exercises/secret-handshake/secret_handshake.exs