joshzcold / Cold-Family-Feud

Host your own Family Feud game. Mobile friendly with built in buzzers.
https://famf.app
MIT License
72 stars 42 forks source link

Feature: load a game from csv #36

Closed joshzcold closed 1 year ago

joshzcold commented 3 years ago

after creating script/parse_csv this project now has the ability to load up csv data into the cold_family_feud format.

The operation would go as follow:

question,answer,points

or

question,answer,answer (points get generated)

For certain types of people this would be 1 step easier than using the game creator. I'm thinking school teachers who are familiar with google docs more so than a website's custom form.

joshzcold commented 2 years ago

It's probably going to be easier to re-create the csv parser in nodejs so I can just call the functions on the backend when we load the content of a CSV file

I'm thinking of the passing the resulting json object into the /new page components so the admin could modify the end result before it gets loaded into the game.

My end goal would be to have the admin not need to save a .json file to play a game.

joshzcold commented 2 years ago

Since heroku is now serving the Docker file I can execute the ruby script to parse the csv text into json

joshzcold commented 1 year ago

Close by: https://github.com/joshzcold/Cold-Family-Feud/pull/63