Skip to content

Commit

Permalink
Design TODOs, questions, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
n8kim1 committed Jan 4, 2021
1 parent 0366c44 commit b80780d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def pub(project_id, topic_name, data, num_retries=5):
break

# TODO a method for scrimmages in general
# TODO should this not be an external method? should this be moved into the scrim class?
# it's not callable via an endpoint; however, this might not matter (it might be ok to call via an endpoint, anyways).
# moving into scrim class would make more sense.
def create_scrimmage(red_team_id, blue_team_id, ranked, requested_by=None):
# TODO how do ranked and type mix? tour matches should always be unranked, right....?

Expand All @@ -78,6 +81,7 @@ def create_scrimmage(red_team_id, blue_team_id, ranked, requested_by=None):

# TODO set blue rating, red rating for ranked matches

# TODO auto-accept mechanics may make this following process need tweaks. Consider like -- a separate "accept method". Then here, save scrimmage; if auto accept on, call accept method, too.
# TODO save the scrimmage

# TODO put onto pubsub
Expand Down

0 comments on commit b80780d

Please sign in to comment.