Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orangomango/humanbenchmark
Humanbenchmark bots made in Java
https://github.com/orangomango/humanbenchmark
bots human-benchmark java javafx selenium selenium-java
Last synced: 1 day ago
JSON representation
Humanbenchmark bots made in Java
- Host: GitHub
- URL: https://github.com/orangomango/humanbenchmark
- Owner: OrangoMango
- Created: 2024-02-04T11:59:19.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-11T13:27:18.000Z (11 months ago)
- Last Synced: 2024-11-11T09:19:49.474Z (2 months ago)
- Topics: bots, human-benchmark, java, javafx, selenium, selenium-java
- Language: Java
- Homepage: https://humanbenchmark.com
- Size: 88.9 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Humanbenchmark bots made in Java
* Try out the tests here: [https://humanbenchmark.com](https://humanbenchmark.com)
* Quick 1 minute video: [Youtube shorts](https://youtube.com/shorts/_GWY59W0Jm8?feature=share)## Tools used
* JDK 17
* JavaFX 17
* Selenium 4.17.0
* Gradle 7.5.1## Bots
| Test Name | Run command | Requires Selenium
--- | --- | ---
| [Aim Trainer](https://humanbenchmark.com/tests/aim) | `./gradlew :AimTest:run` | No
| [Chimp Test](https://humanbenchmark.com/tests/chimp) | `./gradlew :ChimpTest:run` | Yes
| [Sequence Memory](https://humanbenchmark.com/tests/sequence) | `./gradlew :MemoryTest:run` | No
| [Number Memory](https://humanbenchmark.com/tests/number-memory) | `./gradlew :NumberMemory:run` | Yes
| [Reaction Time](https://humanbenchmark.com/tests/reactiontime) | `./gradlew :ReactionTest:run` | No
| [Typing](https://humanbenchmark.com/tests/typing) | `./gradlew :TypingTest:run` | Yes
| [Verbal Memory](https://humanbenchmark.com/tests/verbal-memory) | `./gradlew :VerbalTest:run` | Yes
| [Visual Memory](https://humanbenchmark.com/tests/memory) | `./gradlew :VisualMemory:run` | NoIf on Windows, replace `./gradlew` with `.\gradlew.bat`
## Important notes
* Those bots are configured to run, based on *my* settings, be sure to change the variables marked by the comment `// CHANGE` according to *your* settings.
* Some tests have a static variable named `DEBUG`, you can change the value to true so that you can move the window around and configure properly the screenshot area (when false the bot runs faster).
* When using the debug mode, be sure to read the debug notes.
* Be sure to change the path of the chrome driver for the bots that use Selenium.## Download selenium
Some bots use selenium to control the browser in order to get the current page's source code.
If you want to use the bots marked with `Yes`, then you have to follow these steps:
* Download from [here](https://www.selenium.dev/downloads/) the latest Selenium zip file for Java.
* Put the contents in a folder named `jars`, located in the root directory of this repository. (Be sure to also have a `lib` directory inside the `jars` one)
* The bots that use selenium will automatically find all the jars.## Some test results
RaspberryPi 4B, 2GB RAM![Screenshot from 2024-02-04 19-55-30](https://github.com/OrangoMango/HumanBenchmark/assets/61402409/3291ffc8-27e4-48bb-bda8-5ed4b7c88f38)