r/CodeBullet • • Dec 03 '23

Human Benchmark Human Benchmark using a browser automation

I have been using the Human Benchmark site for quite sometime now to practice my web crawler abilities. I have gotten through a vast majority of the games on the site and figured I would share the code here. I think it's quite amazing how simple it can be by using tools built for browser automation. I have really enjoyed CodeBullet's series on using auto clickers to do this.

Repository: https://gitlab.com/Joe_Hartzell/human-hack-mark

Instructions:

  1. git clone the repository - git clone https://gitlab.com/Joe_Hartzell/human-hack-mark.git
  2. install dependencies using yarn - yarn
  3. play a game - ts-node ./aim.ts

This is written in typescript. The easiest way to run it, is to use ts-node.

Games:

Below is a list of the games I have implemented and the command to run it.

GameUrlCommand
Aim Trainerhttps://humanbenchmark.com/tests/aimts-node ./aim.ts
Sequence Memoryhttps://humanbenchmark.com/tests/sequencets-node ./index.ts
Typing Testhttps://humanbenchmark.com/tests/typingts-node ./typing.ts
Verbal Memoryhttps://humanbenchmark.com/tests/verbal-memoryts-node ./words.ts
3 Upvotes

3 comments sorted by

•

u/AutoModerator Dec 03 '23

Your post has been sent to manual review because your account doesnt meet our karma threshold. Sorry about that!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Raev_64 Quality Contributor Dec 04 '23

you should post some videos of it in action