feat(ui): implement responsive player browser experience
This commit is contained in:
@@ -200,6 +200,7 @@ static void serialize_and_inspect(const maze32_view_t* view, int expect_hidden)
|
||||
assert(payload[written] == '\0');
|
||||
assert(strstr(payload, "{\"v\":1,\"type\":\"view\",\"seq\":") == payload);
|
||||
assert(strstr(payload, "\"phase\":\"countdown\"") != NULL);
|
||||
assert(strstr(payload, "\"width\":8,\"height\":8") != NULL);
|
||||
saw_last_cell |= strstr(payload, "[63,") != NULL;
|
||||
saw_hidden_key |= strstr(payload, "[\"key\",1,0,63]") != NULL;
|
||||
saw_players |= strstr(payload, "\"players\":[") != NULL;
|
||||
|
||||
Reference in New Issue
Block a user