Skip to content

lukonik/t-rex-with-motion

Repository files navigation

T-Rex with motion

play the game here

t-rex

Intro

T-Rex with Motion is a famous T-Rex game with one addition: you jump using hand motion instead of pressing the spacebar. It uses tensorflow-hand-pose-library under the hood to track hand movements. I used an existing T-Rex game repo for the gameplay, so huge thanks to the creator (link)

Gameplay actions

To jump, just move any of your index, middle, or ring fingers up and down. You can move all of them if you want. Remember to show your hand to the webcam so it can track your hand properly.