IslandsTextClient

Text client for the Islands game.

Inspired by the book Functional Web Development by Lance Halvorsen.Also inspired by the course Elixir for Programmers by Dave Thomas.

Using

To play the Islands game, clone islands_engine from GitHub and compile it:

Then, clone islands_text_client from GitHub and compile it:

From folder islands_engine, run the engine in node :islands@<hostname>:

The first player starts the game from a different node:

The second player joins the game from yet another node:

Example of a game's events in sequence

engine_node

player1_node

player2_node

player1_start

player2_join

player1_react_join

player1_atoll_positioned

player2_atoll_positioned

player1_square_positioned

player2_square_positioned

player1_set_islands

player2_set_islands

player1_react_set_islands

player1_guess1

player2_react_guess1

player2_guess1

player1_react_guess1

player1_atoll_forested

player2_react_atoll_forested