Sushant-Coder-01/chess3d — reverse-engineered prompt
Reverse engineered prompt
Build me a browser based 3D chess game called Chess3D.
I want it to feel like regular chess, but with a modern 3D board and realistic pieces that I can click and move around. The board should be interactive, with tiles lighting up when I select a piece and showing only the valid moves for that piece. Pieces should move smoothly, captures should work, and the game should warn me visually when a king is in check.
Use Three.js for the 3D scene, with orbit style camera controls so I can rotate and zoom around the board. Load chess piece models from glb or gltf files if available, and keep the code organized so the board, pieces, controls, move validation, highlights, and game state are easy to maintain.
Set it up as a simple Vite JavaScript project that runs in the browser with npm dev and can be built for production.
Want more depth? Deep Reverse