Neural Network Ratatouille by polegar
Incompatible Genres ? Hmmm is it combatible to have a rat in a kitchen or to control your game with your webcam ?
For each ludum dare in which I participate, I try to learn something new. This time it's https://js.tensorflow.org. Because it's incredible to be able to do deep learning programming in JS !
I've used this tutorial as a starting point : https://js.tensorflow.org/tutorials/webcam-transfer-learning.html and then develop the game with pure JS and HTML5.
Surprinsingly, I've had more trouble with my rusty JS than with tensorflow ... I probably shoud have use a lib like Phaser Js instead of writing everything on my own.
/!\ I just added a post comp version with some minor bux fixes (you can now restart by pressing R and you can no longer launch the game without having trained your neural network), I suggest you to play this version for a better experience /!\
HERE'S HOW YOU PLAY THE GAME (with your webcam) :
1- For each control you need to provide some pictures of you holding an object(a fruit or a vegetable for example :)) in a specific direction. For IDLE I suggest you to hide the object your holding. (hint : you can hold clic to capture a lot of picture fast)
2- Then you have to clic on "Train ratatouille" and wait a little for the number to go down.
3- After that clic on "Let's cook" and be ready to play !
4- Show the object on the direction you want to move the character. You need to catch the cheese and avoid the mouse trap !
| Github repo | https://github.com/Polegar22/webcam-ratatouille |
| HTML5 (web) | https://healthyfighter.fr/ratatouille/ |
| HTML5 (web) | https://healthyfighter.fr/postRatatouille/ |
| Original URL | https://ldjam.com/events/ludum-dare/41/neural-network-ratatouille |
Ratings
| Overall | 241th | 3.557⭐ | 46🧑⚖️ |
| Fun | 357th | 3.25⭐ | 44🧑⚖️ |
| Innovation | 3th | 4.57⭐ | 45🧑⚖️ |
| Theme | 358th | 3.571⭐ | 44🧑⚖️ |
| Graphics | 563th | 2.69⭐ | 44🧑⚖️ |
| Humor | 248th | 2.952⭐ | 44🧑⚖️ |
| Mood | 466th | 2.805⭐ | 43🧑⚖️ |
| Given | 53🗳️ | 40🗨️ |
Can't say I've played many games with webcam controls.
deep neural network programming(for machine learning?) + webcam + tensor flow and building the game in Javascript is a plus plus plus!
To help players get used to the mechanic you could start them off in a room with just a piece of cheese, and then move them into the room with traps and cheese. I killed myself a couple of times at the very start and had to redo the setup process each time.

-Rao
Voilà ma video sur le jeu (parmis d'autres):
https://www.youtube.com/watch?v=_cze6Dpc6JQ
Par contre le jeu semble assez lent sur la vidéo c'est étonnant, tu as quoi comme CPU (ca doit être lié au fait que tu streamais en meme temps) ?
Third place in innovation that's amazing ! Thank you everyone for playing, commenting and rating my game. I can't wait for the next LD !