Skip to content

Commit

Permalink
Binbo 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBRO committed Aug 12, 2020
1 parent e50951e commit f960f39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## [Unreleased]
## [2.0.0] - 2020-08-12

- Added options for the game process at start (`binbo:new_server(Options)`). `Options` is a map now!
- New function `binbo:set_server_options/2`.
Expand Down
5 changes: 2 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ binbo:new_server(Options) -> {ok, Pid} | {error, Reason}.
* `Pid` - pid of the created process;
* `Options` - options for the game process (see link:#server-options[bellow]).

So, to start one or more game processes:

.So, to start one or more game processes:
[source,erlang]
----
{ok, Pid1} = binbo:new_server(),
Expand Down Expand Up @@ -284,7 +283,7 @@ onterminate_callback(GamePid, Reason, Game, Arg) ->
ok.
----

To reset options, call:
.To reset options, call:
[source,erlang]
----
binbo:set_server_options(Pid, #{
Expand Down
2 changes: 1 addition & 1 deletion src/binbo.app.src
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{application, binbo, [
{description, "Full-featured Chess representation using Bitboards"},
{vsn, "1.2.3"},
{vsn, "2.0.0"},
{modules, []},
{registered, [binbo_sup]},
{applications, [kernel, stdlib, compiler, syntax_tools, uef]},
Expand Down

0 comments on commit f960f39

Please sign in to comment.