Let the snake eat your playlist >:)
-
This is a simple snake game but instead of eating apple, the snake eat your playlist or your favorite album >:)
-
This game takes inspiration from the Spotify Snake game, but the original game is limited in IOS device in certain country, thats why I make this game.
-
You have to login with Spotify in order to fetch and play the song you ate :D.
-
You can use W/A/S/D or Arrow key or Arrow button (if you are on mobile device) to navigate the snake and eat the playlist.
-
You can only play this game with sound if you have a Spotify Premium account. Yeah, that's sad 😭
-
The game is limited in a 35 x 35 board, which means the highest score you can achive is limited to 1225 points.
-
There is some strange line cut through the snake. I have no idea what is that or how to fix that (sorry ;-;)
Note If you dont setup the proxy, default proxy (https://proxy.vaito.hackclub.app/, repo here) will be used.
-
Download Bun.sh
-
Download this repo
-
Download this simple proxy (optional). You can use another if you want, e.g. cors proxy.
-
Create a Spotify app following this instruction
-
If you want to use the
Simple Proxy-
Setup a the proxy following this instruction
-
Change the
ProxyURLin this file... export const ProxyURL = "<Put the Proxy URL (default is http://127.0.0.1:7000) here>"; ...
-
-
Run command
bun run startat game directory andbun run index.tsat proxy directory. -
Enjoy the game at 127.0.0.1:8080 (It have to be
127.0.0.1:8080or you will recieveMismatch stateerror)