todo:
-
secret for /game&user...?
-
probably time to put everything in classes/objects
Room,Game,Board,Player, (?)Bracket
-
BRACKETING FEATURE!!!! SINCE ROOMS EXIST!!!
- or just switching out after each game based on who's participating
- need an any-length list of playerPairs, and a 2-length list of currentPlayers, that way
not turnwon't break, and i can setactivePairdynamically - MAKE A NEW BRANCH
- make sure to identify active player list and already-lost list
- no loser bracket, at least not for now for obvi reasons
- cap room at maybe 16
- either Ais or bys for gaps
- "side 1 side 2"?
- landing page per-room
/roomendpoint getRoomhas a list of gamesRoomcan probably formatted asgamesis now-
rooms = { "roomId": { "name": "", "allPlayers": [], "lostPlayers": [], "games": { "gameId": { "name": "", "number": 0,#game number for something or other "players": [], "board": {}, "turn": False, "ended": False, "tie": False, "ai": False } } } }
- rooms are gonna need their own IDs lol
/bracket?room=(View Bracketbutton on room landing page)/game?room=_&user=- allow users to spectate
-
AI decision tree
-
"upcoming features" page
-
line through images when won...? just need 5 X/Os- blank, LTR, RTL, horizontal, vertical (or figure out how to draw a line on top of an image)
-
suggestions page and/or button - just post and
open("suggestions", "a").write() -
dark mode!