Commit Graph

113 Commits

Author SHA1 Message Date
gpt-engineer-app[bot] 236fdaa5bb Adjust Tetris mobile UI controls
Improve Tetris UI on mobile by resizing board area, swapping pause and hard drop positions to center, and ensuring full screen visibility. Reworked D-pad layout to place hard drop in center and pause on the right, and tweaked getCellSize to reduce reserved height for better screen fit.

X-Lovable-Edit-ID: edt-baa5a5b2-2105-47a9-aa68-be9321c1ee16
2026-01-13 10:02:10 +00:00
gpt-engineer-app[bot] 8cc68824bd Changes 2026-01-13 10:02:09 +00:00
gpt-engineer-app[bot] a16afe2637 Improve Tetris mobile controls layout
Align Tetris mobile controls with Snake/Pacman by adopting a 3x3 D-pad grid, update spacing, and swap to compact padding for buttons. Replaces previous flat control row with grid-based layout and adds consistent mobile control spacing.

X-Lovable-Edit-ID: edt-91632e52-833e-44a5-b01b-9a0704bb93a2
2026-01-13 09:59:47 +00:00
gpt-engineer-app[bot] 49909763bd Changes 2026-01-13 09:59:46 +00:00
gpt-engineer-app[bot] 14372e374b Add matrix effect toggle
Expose matrixEnabled in SettingsContext and SettingsPanel, persist to localStorage, and conditionally render MatrixRain across UI, mirroring CRT toggle behavior. Also adapt Index and Index-related pages to respect new setting.

X-Lovable-Edit-ID: edt-b0f8ec37-ee25-4b74-bdeb-5bed8ace73da
2026-01-11 00:18:26 +00:00
gpt-engineer-app[bot] 575ed9894a Changes 2026-01-11 00:18:26 +00:00
gpt-engineer-app[bot] a3d5b4269a Fix fullscreen across games
Restore in-app fullscreen usage for all games by removing broken portal usage, re-centering Tetris UI, and ensuring AIChat fullscreen now uses standard in-app fullscreen. Also revert Tetris file to valid non-corrupted state and reapply proper rendering for 1P/2P layouts.

X-Lovable-Edit-ID: edt-3fac9b3c-0a70-4aaf-9bfe-c412c7951e42
2026-01-11 00:11:36 +00:00
gpt-engineer-app[bot] 11ad5cf669 Changes 2026-01-11 00:11:35 +00:00
gpt-engineer-app[bot] 4099574f8e Fix fullscreen to cover screen
- Update MainLayout animation from scale to consistent fade
- Adjust AI Chat fullscreen to use in-app portal and ensure full coverage
- Align Tetris 2P layout and fullscreen behavior with 1P
- Minor UI tweaks to remove extra margins on fullscreen states

X-Lovable-Edit-ID: edt-5158d755-452c-4cfe-a3e7-c5332b2c2dc9
2026-01-10 23:30:14 +00:00
gpt-engineer-app[bot] 2cf2dcd7d8 Changes 2026-01-10 23:30:14 +00:00
gpt-engineer-app[bot] 8aeff776e1 Fix AIChat fullscreen
- Rewire AIChat fullscreen to use browser API via useBrowserFullscreen
- Sync Enter/Exit fullscreen with isFullscreen state, add Escape handling to exit
- Ensure UI truly fills viewport when fullscreen is active
- Preserve audio/visual behavior while fullscreen toggles

X-Lovable-Edit-ID: edt-be129ed3-9a30-4285-94f2-529128fbc0e4
2026-01-10 23:24:16 +00:00
gpt-engineer-app[bot] 3632fa8ccf Changes 2026-01-10 23:24:15 +00:00
gpt-engineer-app[bot] 45914b6de3 Make AI chat fullscreen work
Fix: wire AIChat to Browser fullscreen API, aligning its behavior with game pages. Import and use useBrowserFullscreen, store fullscreen state, ensure Escape exits fullscreen, and toggle via a consistent fullscreen handler (removing non-functional placeholder). This brings true fullscreen for AI chat along with consistent UX with games.

X-Lovable-Edit-ID: edt-2cec4af2-d3d6-49ef-93f8-6cb09b300ed6
2026-01-10 23:21:57 +00:00
gpt-engineer-app[bot] 42815cd1b8 Changes 2026-01-10 23:21:57 +00:00
gpt-engineer-app[bot] fcf63bf30f Prevent terminal on game keys
Disable opening the terminal with the "/" shortcut while on game pages, by using useLocation to detect /games paths and adding isOnGamePage guard to the keydown handler. Also added location-based check to avoid triggering when navigating in-game.

X-Lovable-Edit-ID: edt-ac92b015-c278-4c1a-81eb-778385ddc5aa
2026-01-10 23:17:48 +00:00
gpt-engineer-app[bot] d4f75700f4 Changes 2026-01-10 23:17:48 +00:00
gpt-engineer-app[bot] 33c5bcb302 Fix tetris UI spacing
Adjust Tetris layout to reduce empty space and align 2P preview with 1P, ensuring consistent game screen sizing across modes. Update container flex behavior to tighten layout and remove extra gap.

X-Lovable-Edit-ID: edt-28f420ea-db1f-429f-84e8-d26dac05573d
2026-01-09 11:35:48 +00:00
gpt-engineer-app[bot] 6b7f85e92e Changes 2026-01-09 11:35:47 +00:00
gpt-engineer-app[bot] b3a743d03a Improve 2P Tetris preview match
Align 2P Next Piece previews to match 1P styling in Tetris.tsx by restoring consistent layout, sizing, and borders for both P1 and P2 preview blocks. Updated P1 and P2 Next Piece sections to use identical structure, padding, and typography for a unified desktop UI.

X-Lovable-Edit-ID: edt-ee763eca-490c-4169-af1e-2c648707e7bf
2026-01-09 11:32:36 +00:00
gpt-engineer-app[bot] cce562a1f7 Changes 2026-01-09 11:32:36 +00:00
gpt-engineer-app[bot] 870ee5fde1 Improve game UI layouts
- Increase and unify 2P preview and desktop screen sizes across games
- Adjust Tetris 2P previews and main grid cell sizes for larger visuals
- Expand Next piece previews and adjust related sizing in Tetris
- Apply responsive size tweaks to Breakout, Snake, Pacman cell sizing
- Enhance mobile/desktop balance to better utilize screen space

X-Lovable-Edit-ID: edt-a04b5a0f-5801-4bc9-8dd5-2f224df555fb
2026-01-09 11:20:39 +00:00
gpt-engineer-app[bot] 0bf52ba489 Changes 2026-01-09 11:20:38 +00:00
gpt-engineer-app[bot] 192164ee74 Clean up orphan files
Remove unused legacy admin/cart components, delete stray analytics/discounts/products tabs, cart drawer, and outdated config file to fix missing module errors. This cleanup reduces build issues and aligns with current project structure.

X-Lovable-Edit-ID: edt-07e4f988-4281-49cc-8bed-a89e11cf8e9c
2026-01-07 11:58:18 +00:00
gpt-engineer-app[bot] 21aa5bb5bb Changes 2026-01-07 11:58:18 +00:00
gpt-engineer-app[bot] da9f0793a2 Improve desktop UI for games
Refine layouts for all game pages (desktop only) with cleaner stats panels, enhanced spacing, borders, and consistent styling across Breakout, Snake, Tetris, Pac-Man, and overall Games listing. Includes updated grid/card layouts and improved control/info sections for a polished desktop experience. Screenshots generation not included.

X-Lovable-Edit-ID: edt-de05423f-1c7e-4035-bbac-bc3a979354f9
2026-01-07 08:46:54 +00:00
gpt-engineer-app[bot] 015dcb72c1 Changes 2026-01-07 08:46:53 +00:00
gpt-engineer-app[bot] fdf6b08c07 Reverted to commit a06d538170 2026-01-06 23:56:25 +00:00
gpt-engineer-app[bot] 93e454a42e Improve desktop game layouts
Reworked Tetris, Snake, Pac-Man, Breakout, and Breakout-related layouts to maximize forked desktop space, align 2P elements horizontally, and reduce vertical scrolling. Adjusted cell sizing logic for desktop (larger when room allows) and ensured NEXT/score panels align beside boards in 2P modes. Updated various game components to use updated grid/board layouts and responsive container wrappers for desktop-first rendering.

X-Lovable-Edit-ID: edt-6b46847a-194c-44fa-a54a-9cd7501e7616
2026-01-06 23:55:02 +00:00
gpt-engineer-app[bot] d13fa4f454 Changes 2026-01-06 23:55:01 +00:00
jory 49abc06046 Complete 2P Pacman implementation with invincibility and fixes
- Add 2P multiplayer mode with individual scoring and lives
- Implement player elimination system with continue/restart options
- Fix collision detection for moving into ghosts
- Add 3-second respawn invincibility like original Pacman
- Visual effects: pulsing/glow during invincibility, smoother animations
- Controls: P1 uses WASD+arrows in 1P, WASD only in 2P; P2 uses arrows
- Fix continue in 1P mode transferring surviving player state
- Revert ghost AI to simple targeting for reliability
2026-01-07 00:24:56 +01:00
jory a06d538170 Implement 2P Pacman mode with proper collision detection and ghost AI
- Add 2P mode selection and controls (P1: WASD/Arrows, P2: IJKL)
- Implement individual scoring and lives for both players
- Fix collision detection for both moving into ghosts and ghosts moving into players
- Add player elimination system with continue/restart options
- Revert ghost AI to original working logic
- Add visual smoothing with CSS transitions and effects
- Fix standing still collision bug
2026-01-06 23:36:44 +01:00
jory b42ff297eb Fix Tetris 2P preview block synchronization issue
- Prevent duplicate piece shapes when generating next pieces
- Enhanced randomTetromino() with excludeShape parameter
- Update piece placement logic to avoid visual duplicates
- Improve initial state generation for both players
- Add P1 and P2 next piece previews in 2P mode
2026-01-06 21:54:11 +01:00
gpt-engineer-app[bot] 4a1879354b Add Zen Mode toggle
Implement Zen Mode that hides all UI except Matrix background and MusicPlayer, toggleable via Z key. Adds useZenMode hook, integrates into Index to render/hide UI accordingly, and enables Escape to exit.

X-Lovable-Edit-ID: edt-718e1520-c8f0-4fbc-b60d-412ed28dddb1
2026-01-06 09:31:21 +00:00
gpt-engineer-app[bot] 3b32652ae5 Changes 2026-01-06 09:31:20 +00:00
gpt-engineer-app[bot] 48613225a7 Integrate YouTube and SoundCloud
- Add client-side YouTube and SoundCloud music integrations
- Implement API key settings UI stored in localStorage
- Replace previous separate tabs with integrated in-page YouTube/SoundCloud modules
- Update Music page to include YouTube, SoundCloud, and custom URL playback options
- Introduce YouTubePlayer and SoundCloudPlayer components with basic search, playback, and favorites
- Add TypeScript typings for media APIs and related hooks

X-Lovable-Edit-ID: edt-252ad380-84c1-420a-8bd4-f9daeb5bc1ec
2026-01-06 00:04:17 +00:00
gpt-engineer-app[bot] 0753b8ff20 Changes 2026-01-06 00:04:17 +00:00
jory 7cf34c1c9b Fixed spamming left/right keys causes blocks to infinitly float 2026-01-04 16:42:46 +01:00
gpt-engineer-app[bot] ce25dd9f6c Consolidate multiplayer UI
- Remove separate /games multiplayer entries; integrate 1P/2P mode into Snake and Tetris views with on-screen toggle
- Display 2P side-by-side boards on desktop; disable 2P on mobile
- Improve Breakout by slowing ball speed
- Remove SnakeMultiplayer route and related files
- Update App routing to drop snake-2p path

X-Lovable-Edit-ID: edt-619f10f3-377b-4f5e-92d8-c9a92a608368
2026-01-03 00:50:07 +00:00
gpt-engineer-app[bot] 75946c9feb Changes 2026-01-03 00:50:06 +00:00
jory 1a6227bf48 Dont lazy load components so pages load instantly and sidebar.tsx on mobile phone is fixed 2026-01-03 01:32:45 +01:00
jory f48c3a68f9 Use proper is mobile hook instead of calculate ourselves 2026-01-03 00:22:51 +01:00
jory d1217c7ed7 Fixed the layout of the mobile screen on all /games 2026-01-03 00:17:38 +01:00
gpt-engineer-app[bot] e98bb0aad6 Fix mobile arcade controls
- Hide terminal icon on mobile, add responsive scrollbar to sidebar, improve mobile control docking
- Expand MusicContext to support more stations, adjust mobile dropdown behavior
- Move audio controls below settings, enable multi-source intro video prior to exports
- Add multiplayer Snake 2P, update layouts to place controls and visuals side-by-side on desktop, compact on mobile
- Enable YouTube/SoundCloud playback for music player

X-Lovable-Edit-ID: edt-38b6abba-b972-46f2-b601-29f2baac8110
2026-01-02 22:01:18 +00:00
gpt-engineer-app[bot] b70c67b5b2 Changes 2026-01-02 22:01:17 +00:00
gpt-engineer-app[bot] ca38e98ca5 Enhance mobile UI and multiplayer
- Hide terminal icon on mobile and add vertical scrollbar to sidebar
- Add robust radio API fallbacks for MusicContext
- Fix mobile dropdown to auto-close on route change
- Introduce 2-player multiplayer for arcade games (Snake 2P, prep for others)
- Update app structure to route snake-2p and keep intro/video flow intact

X-Lovable-Edit-ID: edt-a2080411-825e-495f-8e7e-9c2a15a36c9c
2026-01-02 21:32:33 +00:00
gpt-engineer-app[bot] f0defcbaa1 Changes 2026-01-02 21:32:32 +00:00
jory 467e4a53d1 Auto detect if javascript is enabled and if not display message 2025-12-27 23:58:22 +01:00
jory a7d5bc436e Fixed the /oscilloscope view to show the correct fields at right locations 2025-12-21 19:51:34 +01:00
gpt-engineer-app[bot] f3263cd29e Fix intro video and visuals
Introduce reliable intro.webm playback before main video, switch to webm-first intro with proper frame handling; reorganize oscilloscope controls, add spectrum visualization support, and adjust audio inputs placement and mic controls. Update oscilloscope to render spectrum mode and side-by-side layout with live display options.

X-Lovable-Edit-ID: edt-8fca3b32-298d-48b9-97c3-d077b9c82892
2025-12-21 18:10:01 +00:00
gpt-engineer-app[bot] 8ecd8da712 Changes 2025-12-21 18:10:00 +00:00