Skip to content

rohit-narang/react-treasure-hunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published