A fun and interactive 3D claw game built using Three.js. This project allows players to control a claw to grab prizes in a virtual environment.
- Realistic 3D graphics powered by Three.js
- Intuitive controls for claw movement
- Fun and engaging gameplay
- Customizable prize items
- Responsive design for various devices
- Three.js - A JavaScript library for 3D graphics
- HTML5
- CSS3
- JavaScript
- WebGL
To run the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/best-journey/claw-game.git
-
Navigate to the project directory:
cd claw-game
-
Run the project and open in your browser to play the game.
npm run dev
- Use the arrow keys or on-screen buttons to move the claw.
- Press the 'Pick' button to drop the claw and grab a prize.
- Try to collect as many prizes as possible!
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/YourFeature
). - Make your changes and commit them (
git commit -m 'Add a new feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to modify the sections as needed, especially the demo link, repository URL, and any specific features or instructions relevant to your project!