feat: end screen

This commit is contained in:
Khadeer
2024-10-05 14:52:41 +05:30
committed by Sparsh Goenka
parent 1d61f8fc32
commit cd1a156d3e
6 changed files with 67 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
-- DROP OWNED BY CURRENT_USER CASCADE;
CREATE TYPE STAT AS ENUM ('waiting', 'p1turn', 'p2turn');
CREATE TYPE STAT AS ENUM ('waiting', 'p1turn', 'p2turn', 'gameover');
CREATE TABLE IF NOT EXISTS players (
id CHAR(16) PRIMARY KEY,