A simple web-based game using ThreeJS.
You have several options to run the project locally:
- Make sure you have Python installed
- Double-click the
start_server.batfile- Or open a terminal and run:
python -m http.server 8000
- Or open a terminal and run:
- Open your browser and visit:
http://localhost:8000
- Make sure you have Node.js installed
- Open a terminal in the project directory
- Run:
npm install(first time only) - Run:
npm start - The browser should open automatically to the game
If you're using Visual Studio Code:
- Install the "Live Server" extension
- Right-click on
index.html - Select "Open with Live Server"
index.html- Landing pagegame.html- Game page with ThreeJS setupstyles/- CSS files for stylingjs/- JavaScript files including game logic