5fb3ad4205
feat(tictactoe): integrate leaderboard UI, provider API hook, and new styles
...
- Add *_BKP* ignore rule to .gitignore
- Insert Leaderboard component into TicTacToe screen
- Add getLeaderboardTop() API method to NakamaProvider and expose via context
- Add full leaderboard polling logic (interval-based) in new Leaderboard.tsx
- Style leaderboard in styles.css (rows, rank, name, score, empty state, card UI)
- Modernize TicTacToe UI styles (board, squares, buttons, layout)
- Replace matchmaking view with leaderboard integration
- Import ApiLeaderboardRecordList and ApiMatch types cleanly
2025-11-28 19:43:59 +05:30
d129458039
- Added clear turn messaging for both players (Your Turn / Opponent's Turn).
...
- Fixed initial board state to avoid showing incorrect spectator/opponent status.
- Introduced players[] tracking in React state to correctly reflect match readiness.
- Updated Board component to derive turn text based on player index and session user ID.
- Ensured proper handling of initial match state broadcast from backend.
- Improved overall clarity of gameplay state for both clients on match start.
2025-11-28 16:56:34 +05:30
5b30ac8d83
commenting open matches
2025-11-28 16:08:33 +05:30
34e8984daa
better login and matchmaking flow
2025-11-28 16:07:36 +05:30
cb3f5fb5cf
open matches listing with available players
2025-11-28 15:51:55 +05:30
6179021ce7
useEffect for managing match udpate
2025-11-28 14:08:10 +05:30
9916939f29
matchmaking works
2025-11-28 13:41:35 +05:30
4d6511505a
connection works
2025-11-27 17:16:07 +05:30
4565c4b33a
added nakama provider using nakama package
2025-11-27 16:51:06 +05:30
c6c9d10476
init basic tictactoe game
2025-11-27 16:26:51 +05:30