/rpsls-game

Erlang implementation of the Rock-Paper-Scissors-Lizard-Spock hand game

Primary LanguageErlang

Erlang implementation of the Rock-Paper-Scissors-Lizard-Spock hand game

In this game, player picks a signal to throw and plays against a computer.

SETTING UP

1. Compile

$ erlc -o ebin ./src/.erl*

2. Launch Erlang shell

$ cd ebin

$ erl

3. Start the game by assigning any PORT you like (e.g. 7000)

1> rpsls:start(PORT).

4. Open browser window and access the game with

http://localhost:PORT