Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
thordy committed Aug 30, 2021
1 parent 75a3ea8 commit 27df831
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
![kcapp logo](https://raw.githubusercontent.com/kcapp/frontend/master/public/images/logo.png)
# bot
Simple implementation of a bot for `kcapp`.
Simple implementation of a bot for `kcapp`.

## Usage
```javascript
var skill = require('./bot-skill');

var bot = require('kcapp-bot/kcapp-bot')(<bot player id>, "<server ip>", <server port>);
bot.playLeg(<leg id>);
bot.playLeg(<leg id>, skill.EASY);
```

0 comments on commit 27df831

Please sign in to comment.