A simple interactive 3D cube game built with JavaScript and Three.js where players can rotate a cube and change its colors.
3D cube rendered with Three.js
Interactive rotation with mouse drag
Color change on click
Responsive design
index.html - Main HTML file
script.js - Game logic
style.css - Basic styling
README.md - This documentation
Drag your mouse to rotate the cube
Click the cube to change its color
Use mouse wheel to zoom in/out
Clone the repository: git clone https://github.com/alishojaeix/threejs-cube-game.git
Three.js (loaded via CDN)