- Update mix.exs to correctly include erlang src code
- Update mix.exs to correctly include erlang src code
-
Update mix.exs to include erlang src
-
Update to latest dev packages
{:dialyxir, "~> 1.0", only: [:dev], runtime: false}, {:ex_doc, "~> 0.22.1", only: :dev, runtime: false}, {:credo, "~> 1.4", only: [:dev], runtime: false},
-
Remove warning
warning: Enum.chunk/2 is deprecated. Use Enum.chunk_every/2 instead lib/go/board/tools.ex:100: Go.Board.Tools.string_to_ascii_board/1
Add sgf parser with leex.
Add game import/export sgf file
Add Go.TextClient
Move to_ascii and to_list from Go.Display to Go.Game
Remove Go.Display and associated tests
Add tally to Go.Game
Fix config in hex.pm
Update for Elixir 1.6
- ex_doc 0.18.3
- dialyxir 0.5.1
Add
- credo 0.8.10
Fix credo linting error Fix test
Add display module Add display test Move Board to_array, to_list -> Go.Display Rename to_array -> to_list
THIS VERSION ADD NEW ENTITIES!
- Add new entities and corresponding tests
- Game
- Turn
- Coordinate
- (Board)
- Remove some board responsabilities (moved to game)
Game is now the main entity. It contains a current board, count_info and a turn history (turns)
Turn contains a fengo string, the current move, additional actions (eg: stone placements)
Board is now simplified, it stores size, coordinates and next_turn
(size can also be deduced from coordinates size!)
THIS VERSION CHANGE STRUCTURE!
To save the board in postgresql with Ecto, properties/fields need simpler types. History store position, moves store actions (add_move, pass, place, remove).
- Update structure to be more ecto compliant
- Change type and add moves property to store actions
- Change history to contains only fengo
- Do not store count info in history.
-
Add transform functions sgf->coordinate / coordinate->sgf in Tools
-
Add coresponding tests
-
Update Changelog
-
Add CHANGELOG.md
-
Add helpers to Go.Board.Tools :
- to_fengo(coordinates, next_turn)
- fengo_to_string(string)
- fengo_to_ascii_board(string)
- string_to_ascii_board(string)
- ascii_board_to_string(string)
- next_turn_to_symbol(next_turn)
- Update Go.Board :
- rename and move private fengo() to public Go.Board.Tools.to_fengo()
- Initial commit