Twitch bot for playing games.
Install Java 16+ with AdoptOpenJDK, IntelliJ IDEA, or SDKMAN!.
(See commented-out code in app/build.gradle for automatically downloading this version of Java using Gradle.)
The root-level Bash script, twandy, will build the Jar if it does not exist, and then run it. If the Jar already exists, it will not rebuild it.
$ ./twandy
$ ./twandy --help
Build the project (use ./gradlew.bat
for Windows):
$ ./gradlew build
$ ./gradlew.bat build
Run the app, using one of these methods:
## 0) Use the root script.
$ ./twandy
## 1) Use the Jar.
$ java -jar app/build/libs/twandy.jar
## 2) Use the build script.
$ app/build/install/twandy/bin/twandy
$ app/build/install/twandy/bin/twandy.bat
## 3) Use Gradle, but slow (not recommended).
$ ./gradlew run
$ ./gradlew.bat run
Replace twandy with one of the run methods from the Setup > Run section.
$ twandy --help
TODO: user/pass
TODO: play Solarus; download and run DX file
TODO: play lichess
TODO: run fhat
Twandy [https://github.com/esotericpig/twandy]
Copyright (c) 2021 Jonathan Bradley WhitedTwandy is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.Twandy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public License
along with Twandy. If not, see https://www.gnu.org/licenses/.