Project: Chrome Dino Game with Body Gesture

Project: Chrome Dino Game with Body Gesture
Rome, Italy ๐Ÿ‡ฎ๐Ÿ‡น


Hi guys. This is Seokchan Yoon.

Have you ever played Dino Game which can play on your Chrome browser when you are off-line? This game is so popular for its simplicity and enjoyment. I remember that I played this a lot with my friends when I was in high school. There were unconditionally several friends who was really good at this game wherever.

Then.. What do you think about playing this game with your body gesture? Have you ever thought about it? I suddenly thought this idea, and it was so cool idea for me.

There was a required subject named 'Web-Python Programming' just in time when I was a college freshman. All students who take this subject had to make their own software project as an assignment. I decided to make this project for the assignment.

How I made this?

This project is really simple. Just turn on the webcam, and play the game with your body!

I used 'Teachable Machine' which was made by Google for recognizing body gesture. To see my 'TEACHING TIME' visit the youtube link below ๐Ÿ˜‚.

Teaching Time!

I could use javascript to use my teached model. (I don't know what language google are supporting now.) In javascript, if it is recognized that you're jumping, it sends an HTTP request to the backend server made with Flask.

The Flask server makes signal which is same with pressing space bar with Win API, when it receive HTTP request from javascript client. So finally the 'Dino' will jump with your signal!

You can see some codes that I wrote in that time.

GitHub - ch4n3-yoon/Chrome-Dino-with-Body-Language: 2020-1H ๊ฒฝํฌ๋Œ€ํ•™๊ต ์›นํŒŒ์ด์„ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ํ…€ํ”„๋กœ์ ํŠธ
2020-1H ๊ฒฝํฌ๋Œ€ํ•™๊ต ์›นํŒŒ์ด์„ ํ”„๋กœ๊ทธ๋ž˜๋ฐ ํ…€ํ”„๋กœ์ ํŠธ. Contribute to ch4n3-yoon/Chrome-Dino-with-Body-Language development by creating an account on GitHub.

The final result!

Here is my playing demo video ๐Ÿ‘‡๐Ÿ‘‡