Skip to content

OrangoMango/HumanBenchmark

Repository files navigation

Humanbenchmark bots made in Java

Tools used

  • JDK 17
  • JavaFX 17
  • Selenium 4.17.0
  • Gradle 7.5.1

Bots

Test Name Run command Requires Selenium
Aim Trainer ./gradlew :AimTest:run No
Chimp Test ./gradlew :ChimpTest:run Yes
Sequence Memory ./gradlew :MemoryTest:run No
Number Memory ./gradlew :NumberMemory:run Yes
Reaction Time ./gradlew :ReactionTest:run No
Typing ./gradlew :TypingTest:run Yes
Verbal Memory ./gradlew :VerbalTest:run Yes
Visual Memory ./gradlew :VisualMemory:run No

If 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 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

About

Humanbenchmark bots made in Java

Topics

Resources

Stars

Watchers

Forks

Languages