Skip to content

alishojaeix/3D-Cube-Game-with-Three.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

3D-Cube-Game-with-Three.js

A simple interactive 3D cube game built with JavaScript and Three.js where players can rotate a cube and change its colors.

Features

3D cube rendered with Three.js

Interactive rotation with mouse drag

Color change on click

Responsive design

Files

index.html - Main HTML file

script.js - Game logic

style.css - Basic styling

README.md - This documentation

How to Play

Drag your mouse to rotate the cube

Click the cube to change its color

Use mouse wheel to zoom in/out

Installation

Clone the repository: git clone https://github.com/alishojaeix/threejs-cube-game.git

Dependencies

Three.js (loaded via CDN)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published