Hacker News new | past | comments | ask | show | jobs | submit login
I Made a Spotify Roulette Game (roygbiv.fm)
32 points by jstn455 11 days ago | hide | past | favorite | 17 comments

I made a group Spotify game where it plays random songs and you have to guess whose account has the song in their listening history. It's available for free and premium users, although only premium users can have audio playback (so if you are playing with a few people in the same room, one of you needs to have a premium account to play the songs).

I've had a few friends test out the game and feedback has been positive so far! The game setup has been a little confusing for some so I'm hoping you all will have fun trying out the game and give me good feedback on ways to improve it! It's a great way to learn more about your friends and a good ice breaker to learn about music tastes.

You could play with 2-7 players. With 2 players, the listeners are a bit more obvious, but keep in mind you can select multiple people so its possible both players listen to the song and the other doesn't know so. When you get a big group going on things definitely get a bit more interesting!

Anyways, have fun and let me know what you think! Sorry if there are a lot of bugs, I fixed a lot but I'm sure there are more out there. Let me know what you find and I will work as quick as I can to fix them.

Also, it asks for a lot of Spotify data/permissions for the game to operate. Keep in mind any of this data is deleted after the game shortly after it completes.


You might want to add that to the site, so people don't have to create a game to know how it works.

Which part exactly? The bit about 2-7 players?

The first sentence, so we know what to expect. Right now, it's very "okay, this is a game, but how does it work?"

A pair of screenshots of a game in progress would also help wonders.

Just the first sentence already would be an improvement, as now people will probably just bounce seeing a login button with no explanation.

You’re totally right, I’ll spruce up the front page. Thanks for the feedback.

This was fun. Thanks!

You're welcome! Glad you liked it.

Doesn't seem to work for me. I went to create a game but got this when pressing the button:

    Access to XMLHttpRequest at 'https://api.roygbivapp.com/game' from origin 'https://www.roygbiv.fm' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The initial OPTIONS request returns `access-control-allow-origin: *` however the POST request says:

    x-amz-apigw-id: exZGCGTxPHcFxog=
    x-amzn-errortype: InternalServerErrorException
    x-amzn-requestid: 4758113c-603c-463a-8e1a-c1b2aa1c5e8d

I'll look into it! Do you happen to have a ton of playlists? I've come across problems where users have too many playlists and so gathering all the songs leads to Spotify API errors eventually. I just released a temporary fix that fixes that problem but need more time for a better solution.

If it continues to be a problem you can unselect "In Created Playlists" when you are creating the game.


See my above comment! Thanks for letting me know

When I play it, one time out of six it sends me to https://youtu.be/dQw4w9WgXcQ

Hmm maybe I'll do that for next April Fools day!

Interesting, have you heard of https://musicpals.io/ ?

I feel like grex.nyc did something similar a while back ago

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact