Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manishkmr49/dinosaur-game

A browser-based Dinosaur Game built with HTML, CSS, and JavaScript. Inspired by the Chrome offline game, control a dinosaur, avoid obstacles, and track your score. Responsive and playable on all devices.
https://github.com/manishkmr49/dinosaur-game

css dinosaur-game frontend html html-css-javascript javascript responsive

Last synced: 1 day ago
JSON representation

A browser-based Dinosaur Game built with HTML, CSS, and JavaScript. Inspired by the Chrome offline game, control a dinosaur, avoid obstacles, and track your score. Responsive and playable on all devices.

Awesome Lists containing this project

README

        

# Dinosaur Game

Welcome to the Dinosaur Game repository! This project is a fun, interactive game inspired by the classic Chrome browser game where you control a dinosaur running through a desert, avoiding obstacles and collecting points.

## Live Demo

Play the game live at [Dinosaur Game Live](https://dinosaur-game-by-manish.netlify.app/).

## Features

- **Endless Running**: The dinosaur runs indefinitely until it collides with an obstacle.
- **Obstacle Avoidance**: Jump over or duck under various obstacles.
- **Score Tracking**: Keep track of your score based on the distance traveled.
- **Responsive Design**: Playable on various devices and screen sizes.

## Getting Started

To get a local copy up and running, follow these steps:

### Prerequisites

- [Node.js](https://nodejs.org/) (v14 or later)
- [npm](https://www.npmjs.com/) (comes with Node.js)

### Installation

1. **Clone the Repository**

```bash
git clone https://github.com/manishkmr49/Dinosaur-Game.git

2. **Navigate to the Project Directory**

```bash
cd Dinosaur-Game
4. **Install Dependencies**

npm install

6. **Run the Game**

npm start

## Usage

- **Space Bar**: Jump over obstacles.
- **Down Arrow**: Duck under obstacles.
- **Collect Points**: Try to achieve the highest score!

## Contributing
Contributions are welcome! Please follow these steps if you want to contribute:

1. Fork the Repository
2. Create a Feature Branch

git checkout -b feature/YourFeature

3. Commit Your Changes

git commit -m "Add your feature"

4. Push to the Branch

git push origin feature/YourFeature

5. Open a Pull Request

**Contact**

For any questions, issues, or feedback, please visit our [Contact Repository](https://github.com/manishkmr49/contact-repository-/issues)