Refactor draft app with improved state management and components
* Rename WebSocket message types for better organization * Improve state handling with dedicated methods like broadcast_state * Restructure frontend components and remove unused code
This commit is contained in:
21
draft_cache.json
Normal file
21
draft_cache.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"participants": [
|
||||
"Alice",
|
||||
"Bob"
|
||||
],
|
||||
"phase": "nominating",
|
||||
"draft_order": [
|
||||
"Bob",
|
||||
"Alice"
|
||||
],
|
||||
"draft_index": 0,
|
||||
"current_movie": "The Matrix",
|
||||
"bids": [
|
||||
{
|
||||
"Alice": 10
|
||||
},
|
||||
{
|
||||
"Bob": 12
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user