A XY gantry system to play the GamePigeon game Word Hunt. Project for Hack Club Undercity!
Demo video: https://www.youtube.com/shorts/yUHHStpDfnc
A Camera module takes a picture of the board. It then uploads the image to OpenAI's 4o model to read and process the letters on the screen. The Python script then uses a dictionary file to generate the best words and their swipe paths, which is sent to the XY gantry system with two stepper motors holding an Apple Pencil to play the game.
| Item | Quantity | Link |
|---|---|---|
| 2mm Pitch GT2 Belt (9mm Thick) | 1 | Amazon |
| NEMA 17 Stepper Motor | 2 | StepperOnline |
| V Wheels | 9 | Amazon |
| Short Aluminum Extrusion | 5 | Amazon |
| Long Aluminum Extrusion | 1 | Amazon |
| Breadboard | 1 | Pololu |
| Stepper Motor Driver A4988 | 3 | Pololu |
| High-Torque Servo Motor | 1 | Adafruit |
| Screws and Nuts | – | – |
| Raspberry Pi 5 | 1 | Amazon |
| Web Camera | 1 | Amazon |
| Perfboard | 1 | DigiKey |
Note: The algorithm and detection code uploaded were written by @Eddy Zhou at https://github.com/eddyzow/Word-Hunter/. This is just an updated repo for all files. The final code, which is not currently uploaded, was written by both Eddy and me, with me working on the control part (moving motors to pos, homing) and the algorithm to detect words given a list by Eddy. Video by Eddy Z: https://www.youtube.com/watch?v=0T_SaNIKbn8