Open Bhargav-Dave opened 1 year ago
Currently in 0.2.0, the number of communities are fixed and set to 2, however they should be dynamic and change depending on how many players are joining one room.
This has to do with a couple of things, firstly, the way in which the colors are imported in the following file: https://github.com/tattle-made/viral-spiral-backend/blob/cf51731e040262189889290c62c3e78eca73a739/main_loop/templates/index.html#L99
It also has to do with the set_dynamic function present over here: https://github.com/tattle-made/viral-spiral-backend/blob/cf51731e040262189889290c62c3e78eca73a739/models/card.py#L177
Currently in 0.2.0, the number of communities are fixed and set to 2, however they should be dynamic and change depending on how many players are joining one room.
This has to do with a couple of things, firstly, the way in which the colors are imported in the following file: https://github.com/tattle-made/viral-spiral-backend/blob/cf51731e040262189889290c62c3e78eca73a739/main_loop/templates/index.html#L99
It also has to do with the set_dynamic function present over here: https://github.com/tattle-made/viral-spiral-backend/blob/cf51731e040262189889290c62c3e78eca73a739/models/card.py#L177