Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ornicar/vindinium-starter-scala
Scala starter bot for Vindinium
https://github.com/ornicar/vindinium-starter-scala
Last synced: 9 days ago
JSON representation
Scala starter bot for Vindinium
- Host: GitHub
- URL: https://github.com/ornicar/vindinium-starter-scala
- Owner: ornicar
- Created: 2014-01-25T13:13:24.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-19T13:15:45.000Z (over 8 years ago)
- Last Synced: 2023-03-10T21:18:28.185Z (over 1 year ago)
- Language: Scala
- Homepage: http://vindinium.org
- Size: 196 KB
- Stars: 10
- Watchers: 3
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Scala starter pack for the Vindinium AI challenge
## Develop / run
```
sbt -Dkey=mySecretKeyTraining mode, 30 turns:
> run training 30Arena mode, 10 games:
> run arena 10
```## Package as single jar
From sbt, run:
```
> one-jar
```You can now run the application without sbt:
```
java -Dkey=mySecretKey -jar target/scala-2.10/vindinium-bot_2.10-0.1-one-jar.jar arena 3
```A bash alias can make it prettier:
```
alias vindinium="java -Dkey=mySecretKey -jar target/scala-2.10/vindinium-bot_2.10-0.1-one-jar.jar"
```You can now run your bot like that:
```
vindinium arena 3
```