Skip to content

best-journey/claw-game

Repository files navigation

3D Claw Game

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.

Table of Contents

Demo

Live Demo

Features

  • Realistic 3D graphics powered by Three.js
  • Intuitive controls for claw movement
  • Fun and engaging gameplay
  • Customizable prize items
  • Responsive design for various devices

Technologies Used

  • Three.js - A JavaScript library for 3D graphics
  • HTML5
  • CSS3
  • JavaScript
  • WebGL

Installation

To run the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/best-journey/claw-game.git
  2. Navigate to the project directory:

    cd claw-game
  3. Run the project and open in your browser to play the game.

    npm run dev

Usage

  • 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!

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes and commit them (git commit -m 'Add a new feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Customization

Feel free to modify the sections as needed, especially the demo link, repository URL, and any specific features or instructions relevant to your project!