blob: 03bcaf6e842c3d5c8309170a5f0a93706c2be106 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
const LC = require('./src/client');
const playerName = process.env.PLAYER_NAME || 'A shy user';
client = LC.newClient({
playerName,
challengerURL: process.env.CHALLENGER_URL,
});
client.start()
.then((token) => console.log(`${playerName} has registered with token ${token}`));
|