Just a fun Friday afternoon here in Australia
Have a look at the custom widget I made for the snake game.
The source code is not mine, i just made a few tweaks to make it work.
It’s not perfect but I’m happy what I achieved in an hour
Source code and explanation : JavaScript snake game tutorial: Build a simple, interactive game (educative.io)
JSON attached for anyone who wants to try it out.
Make it better and share in the community if you can.
The CSS really needs some fixing up.
customWidget-Snake game.json (8.4 KB)
9 Likes
EddyA
February 8, 2023, 9:56pm
2
Looks cool! We had some fun with that type of thing here at Tulip a little whiles ago. https://tulip.co/library/videos/tulip-gaming-(custom-widgets)/
1 Like
Oh yes, i saw this and this is what drove me to try snake. Any chance you have JSON export you can share with us.
k.ober
February 12, 2023, 5:14pm
4
@rakitha following up here with two uploads: snake and Pacman that we have running in the office
(we pulled these from an article like this , so YMMV on what exactly they need to work in Tulip - )
customWidget-Snake.json (45.1 KB)
customWidget-Pacman v4 (highscores).json (40.0 KB)
3 Likes