135fdd332drefactor(types): rename interfaces with *Model suffix and update references across codebaseVishesh 'ironeagle' Bangotra2025-12-04 19:29:35 +05:30
8dc41fca2cusing correct props instead of internal props for TicTacToeGame.tsx and BattleshipGame.tsxVishesh 'ironeagle' Bangotra2025-12-04 19:24:14 +05:30
fc7cb8efb6renamed BattleShipGame.tsx to BattleshipGame.tsx to match props name. using props interface for both instead of using commonPropsVishesh 'ironeagle' Bangotra2025-12-04 19:22:07 +05:30
83ae342499feat(matchmaking): add selectedGame support and implement exitMatchmaker to clear active ticketsVishesh 'ironeagle' Bangotra2025-12-01 20:55:24 +05:30
16355d8028winner 0 index causing it to draw. using username for winner string. break the highliting X or 0 for cell, which was broken anywayVishesh 'ironeagle' Bangotra2025-12-01 18:24:52 +05:30
0fa644dbc0- Added full-height flex layout with fixed header and centered main content. - Locked page scroll via body overflow hidden to prevent outer page scrolling. - Moved game content into scrollable middle pane. - Removed global top padding from styles.css to match new fixed-header layout. - Simplified layout structure and removed unused commented code.Vishesh 'ironeagle' Bangotra2025-11-29 03:11:33 +05:30
0d167b8ccc- Disabled game mode selector while matchmaking is active. - Updated match start header in Player to match new UI theme. - Reworked TicTacToe layout with dark theme, centered layout, and Framer Motion transitions. - Added animated header bar and unified styling across Player, Board, and main screen. - Improved opacity/transition behavior for the board based on session state. - Cleaned up unused code and reorganized match data callback handling.Vishesh 'ironeagle' Bangotra2025-11-29 03:05:33 +05:30
ebc6906bf6- Introduced animated Board component with smooth mount transitions. - Added hover scale, tap animations, and cell pop-in effects for moves. - Implemented animated status transitions and winner pulse effect. - Highlighted winning symbols with glow styling. - Improved game feel with responsive and modern interaction feedback.Vishesh 'ironeagle' Bangotra2025-11-29 02:47:57 +05:30
8555675740- Added isQueueing state to Player component to track matchmaking state. - Implemented animated "Finding opponent…" UI with pulsing dots using Framer Motion. - Added cancelQueue() to allow players to cancel matchmaking mid-search. - Updated startQueue() to set queueing state immediately for instant feedback. - Improved player experience by clearly showing matchmaking progress instead of silent waiting.Vishesh 'ironeagle' Bangotra2025-11-29 02:44:54 +05:30
a9e2d50b16- Rebuilt Player.tsx with full UI overhaul using Framer Motion animations. - Added animated transitions between login, lobby, and match states. - Improved layout, spacing, and visual styling for modern game feel. - Added smooth auto-connect flow and integrated username lock-in behavior. - Updated matchmaking and logout buttons with animated interactions. - Integrated Leaderboard cleanly inside lobby panel.Vishesh 'ironeagle' Bangotra2025-11-29 02:37:27 +05:30
d962d9c5eb- Created new Player.tsx component to handle username input, auto-connect, matchmaking, and logout. - Moved all login, session UI, mode selection, and matchmaking logic from TicTacToe.tsx into Player.tsx. - Added onMatchDataCallback prop support for Player component. - Cleaned up TicTacToe.tsx by removing duplicated login/matchmaking UI and connect logic. - Improved auto-connect on mount via Player.tsx.
v0.2.1
Vishesh 'ironeagle' Bangotra2025-11-29 02:29:31 +05:30
94bdec8cb4- Added username persistence via localStorage with read-only input behavior. - Added automatic connect() invocation on page load. - Implemented robust login flow: register or auto-login based on local flags. - Added logout support with clean WebSocket disconnect + state reset. - Updated NakamaProvider with getSession(), autoLogin(), registerWithUsername(). - Connected logout button and integrated updated login behavior into UI.Vishesh 'ironeagle' Bangotra2025-11-29 02:09:51 +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.Vishesh 'ironeagle' Bangotra2025-11-28 16:56:34 +05:30