10.2.1 • Published 4 years ago

@socialgorithm/uabc v10.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

UABC

uabc: Ultimate Algorithm Battle - Client

This is a websocket client that allows participation in Socialgorithm Tournaments. Learn more about those in our documentation

This client will executes your player file, and pipe the stdin/stout generated by that process to the tournament server over a socket.

This means that your player can be written in any language, and it will work as long as your computer can run it.

Getting started

Note: If you are participating in a competition, it is best to start in the Participant section of the documentation.

Install the executable:

$ npm install -g @socialgorithm/uabc

Verify the installation by running:

$ uabc --version

Options

Run uabc -h to see the full list of options:

Running the sample player

You will need to clone the specific sample player that you want to run, for example, for tic-tac-toe:

$ git clone git@github.com:socialgorithm/tic-tac-toe-player
$ cd tic-tac-toe-player

Then run the sample using the globally installed UABC, for example:

$ uabc --host "https://sg-tournament.herokuapp.com" 
  --lobby "{YOUR_LOBBY_NAME}" 
  --token "Player1" 
  -f "node run_player.js random"
10.2.1

4 years ago

10.2.0

4 years ago

8.1.1

6 years ago

7.1.0

6 years ago

8.1.0

6 years ago

8.0.0

6 years ago

7.0.0

6 years ago

6.0.1

6 years ago

6.0.0

7 years ago

3.2.0

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.20.0

7 years ago

2.19.0

7 years ago

2.18.0

7 years ago

2.17.0

7 years ago

2.16.0

7 years ago

2.15.0

7 years ago

2.14.0

7 years ago

2.13.0

8 years ago

2.12.0

8 years ago

2.11.0

8 years ago

2.10.0

8 years ago

2.9.1

8 years ago

2.9.0

8 years ago

2.8.0

8 years ago

2.7.0

8 years ago

2.6.0

8 years ago

2.5.0

8 years ago