Skip to content

VaitoSoi/simple-spotify-snake

Repository files navigation

simple-spotify-snake

Let the snake eat your playlist >:)

Demo video

I. So what is this ._.?

  • 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.

II. How to play:

  • 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.

III. Limitation:

  • 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 ;-;)

IV. How to install this on your machine:

Note If you dont setup the proxy, default proxy (https://proxy.vaito.hackclub.app/, repo here) will be used.

1. Download stuff

2. Setup things

  • Create a Spotify app following this instruction

  • If you want to use the Simple Proxy

    • Setup a the proxy following this instruction

    • Change the ProxyURL in this file

      ...
      export const ProxyURL = "<Put the Proxy URL (default is http://127.0.0.1:7000) here>";
      ...

3. Enjoy the thing

  • Run command bun run start at game directory and bun run index.ts at proxy directory.

  • Enjoy the game at 127.0.0.1:8080 (It have to be 127.0.0.1:8080 or you will recieve Mismatch state error)

About

Let the snake eat your playlist >:)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors