Packages
Creates a tally struct for the Game of Islands. Also displays the summary of a Game of Islands.
Current section
30 Versions
Jump to
Current section
30 Versions
Compare versions
3
files changed
+16
additions
-7
deletions
| @@ -1,7 +1,7 @@ | |
| 1 1 | {<<"links">>, |
| 2 2 | [{<<"GitHub">>,<<"https://github.com/RaymondLoranger/islands_tally">>}]}. |
| 3 3 | {<<"name">>,<<"islands_tally">>}. |
| 4 | - {<<"version">>,<<"0.1.28">>}. |
| 4 | + {<<"version">>,<<"0.1.30">>}. |
| 5 5 | {<<"description">>, |
| 6 6 | <<"Creates a tally struct for the Game of Islands.\nAlso displays the summary of a Game of Islands.">>}. |
| 7 7 | {<<"elixir">>,<<"~> 1.11">>}. |
| @@ -4,13 +4,22 @@ | |
| 4 4 | # └───────────────────────────────────────────────────────────────────────┘ |
| 5 5 | defmodule Islands.Tally do |
| 6 6 | @moduledoc """ |
| 7 | - Creates a tally struct for the _Game of Islands_. |
| 7 | + Creates a tally struct for the _Game of Islands_.\s\s |
| 8 8 | Also displays the summary of a _Game of Islands_. |
| 9 9 | |
| 10 | - The tally struct contains the fields `game_state`, `player1_state`, |
| 11 | - `player2_state`, `request`, `response`, `board`, `board_score`, `guesses` and |
| 12 | - `guesses_score` representing the properties of a tally in the _Game of |
| 13 | - Islands_. |
| 10 | + The tally struct contains the fields: |
| 11 | + |
| 12 | + - `game_state` |
| 13 | + - `player1_state` |
| 14 | + - `player2_state` |
| 15 | + - `request` |
| 16 | + - `response` |
| 17 | + - `board` |
| 18 | + - `board_score` |
| 19 | + - `guesses` |
| 20 | + - `guesses_score` |
| 21 | + |
| 22 | + representing the properties of a tally in the _Game of Islands_. |
| 14 23 | |
| 15 24 | ##### Inspired by the book [Functional Web Development](https://pragprog.com/titles/lhelph/functional-web-development-with-elixir-otp-and-phoenix/) by Lance Halvorsen. |
| @@ -4,7 +4,7 @@ defmodule Islands.Tally.MixProject do | |
| 4 4 | def project do |
| 5 5 | [ |
| 6 6 | app: :islands_tally, |
| 7 | - version: "0.1.28", |
| 7 | + version: "0.1.30", |
| 8 8 | elixir: "~> 1.11", |
| 9 9 | start_permanent: Mix.env() == :prod, |
| 10 10 | name: "Islands Tally", |