Skip to content

esotericpig/twandy

Repository files navigation

Twandy

Source Code License

Twitch bot for playing games.

Setup

Install Java 17+ (e.g., with Adoptium or SDKMAN!).

TODO: Download Release and run.

Build

Install Java 17+ and Gradle v8.10+ (e.g., with SDKMAN!).

The root-level Bash script, twandy, will build the Jar (as fast as possible) if it doesn't exist and then run it.

  • If the Jar already exists, it will not rebuild it, unless you specify the /b option.
  • It uses ./gradlew if it exists, else it uses gradle. If you don't want it to use ./gradlew, then specify the /g option or just delete ./gradlew.
  • Slashes (/) are used instead of dashes so that it doesn't conflict with Twandy's options.
./twandy
./twandy /b /g --version

Or build manually (use ./gradlew.bat on Windows):

./gradlew build

Run

Run the app using one of these methods:

## 0) Use the top-level script.
./twandy

## 1) Use the Jar.
java -jar app/build/libs/twandy.jar

## 2) Use one of the build scripts.
app/build/install/twandy/bin/twandy
app/build/install/twandy/bin/twandy.bat

## 3) Use Gradle.
./gradlew run

Usage

These examples use the twandy script, but any of the other running methods will also work with these same options/commands.

twandy --help

TODO: user/pass

TODO: play Solarus; download and run DX file

TODO: play lichess

TODO: run fhat

License

GNU LGPL v3+

Twandy [https://github.com/esotericpig/twandy]
Copyright (c) 2021 Bradley Whited

Twandy 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/.

About

Twitch bot for playing games.

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published