Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 877 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 877 Bytes

React Treasure Hunt

This project was bootstrapped with Create React App.

In the project directory, you can run:

npm start

Runs the app in the development mode.

Open http://localhost:3000 to view it in the browser.

How to Play?

Use the arrow keys on your keyboard to move the player in the game. Keep the player within the boundary and try to reach to the treasure by escaping moving fireballs and campfires. Play Game.

How it Works?

In this game, you'll program key-press events to move the sprite left and right. To move the sprite left and right, use +- x width on background sprite image and similarly to move the sprite up and down, use +- height on sprite image. It will mimic the motion animation of player.