Explore Interactive Snake Game Built with Rive and Lua ScriptingExplore Interactive Snake Game Built with Rive and Lua Scripting
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Built the classic Snake game entirely inside Rive using scripting and data binding.
This was an experiment pushing Rive beyond animation into interactive systems.
Movement, food spawning, and game state are all driven by Lua while the UI stays synced through a ViewModel.
Still polishing the web export, but the core gameplay is working and it was a fun challenge to build.
Play / watch the demo here πŸ‘‡
Simply7's avatar
This is really realy cool snake game in nokia was actually my fav
Abhiram's avatar
Very cool exploration πŸ‘ Pushing Rive into interactive systems opens interesting UX possibilities. The ViewModel sync approach is especially intriguing.
Daramola's avatar
Appreciate it! I was really curious how far Rive could go beyond animation, and the ViewModel sync made the whole system much easier to manage.
Abhiram's avatar
Very cool approach πŸ‘ Curious β€” did you run into any performance or state-management challenges while wiring the ViewModel sync?
Daramola's avatar
Thank you! The trickiest part was managing the segment updates as the snake grows. Using the ViewModel as the source of truth helped keep the UI and game logic in sync without things getting messy.
Stephanie's avatar
Using Lua for game state and Rive for the UI is such a smart separation. Can't wait to try the web export!
Wuraola's avatar
This was nostalgic to see! I remember playing this when I was young! welldoneπŸ‘πŸ½
Akinkunmi's avatar
Very cool breakdown πŸ‘Œ
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started