Sha256: 8a80c74a879795681a63c4647efc9685bb0685836102a7215845ef934dabfe08

Contents?: true

Size: 686 Bytes

Versions: 116

Compression:

Stored size: 686 Bytes

Contents

defmodule Bowling do

  @doc """
    Creates a new game of bowling that can be used to store the results of
    the game
  """

  @spec start() :: any
  def start do
  end

  @doc """
    Records the number of pins knocked down on a single roll. Returns `:ok`
    unless there is something wrong with the given number of pins, in which
    case it returns a helpful message.
  """

  @spec roll(any, integer) :: any | String.t
  def roll(game, roll) do
  end

  @doc """
    Returns the score of a given game of bowling if the game is complete.
    If the game isn't complete, it returns a helpful message.
  """

  @spec score(any) :: integer | String.t
  def score(game) do
  end
end

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
trackler-2.0.8.15 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.14 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.13 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.12 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.11 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.10 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.9 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.8 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.7 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.6 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.5 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.4 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.3 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.2 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.8.1 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.7.0 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.6.44 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.6.43 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.6.42 tracks/elixir/exercises/bowling/bowling.exs
trackler-2.0.6.41 tracks/elixir/exercises/bowling/bowling.exs