Inspiration
On TikTok there is a trend of putting Subway Surfers gameplay in the corner of a video to hold the viewer's attention and increase engagement. My project brings this to the Neovim text editor, so you can stay 'focussed' while coding.
What it does
When activated, it will play a Subway Surfers gameplay side-by-side with your code.
How we built it
This is a Neovim plugin that uses the mpv terminal video player to play the video in Neovim's built in terminal, and then I exposed this functionality as Neovim commands (:SubwaySurfers) to activate/deactivate it.
Challenges we ran into
Initially I was going to use a Neovim image library to play each frame of the video one at a time, but I couldn't get the library to work 😭, so I managed to find the mpv video player to do it instead.
What we learned
This was my first Neovim plugin that I've made! I also learned a lot about Lua, which is the language used to program Neovim
What's next for subway-surfers.nvim
Changing what video you can play to other videos from this TikTok trend e.g. Minecraft Parkour videos, Cutting soap, Mixing paint etc etc

Log in or sign up for Devpost to join the conversation.