chphoom / aroundtheblock

0 stars 1 forks source link

15 implement challenge generator #26

Closed chphoom closed 1 year ago

chphoom commented 1 year ago

this req contains changes to the backend, the api route that previously generated a new challenge not generates random words to fill the strings.

this is fine for prototype purposes for now, future TODOs include changing parameters when generating the new challenge, changing the number of colors, etc.

the backend route still requires a challenge object to be passed however the default values are fine, simply remove the automatically generated params for id ("id": 0,) and post ( "posts": [],)