Skip to content

kjdowns/js-adventure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Adventure

Javascript Adventure is a 2D Dungeon crawling game using HTML5, Javascript, and Ruby on Rails. Take on the role of The Wizard and fight your way through 10 levels of monsters to emerge victorious and conquer The Dungeon. You are also able to save and load progress using the Username and load/save buttons underneath the main game viewport. Controls and player health are displayed on the left side bar. Movement is controlled with the arrow buttons, and spells can be fired with "z" for a fireball and "x" for an ice spike. You only have 10 health with which to complete the entire guantlet, so be cautious! The game will end when the player has depleted all of their health or reached the end.

Installation

Fork and clone the respository to your local machine to play.

Setting up the Server

You can set up the back end Rails server by navigating to backend\js-adventure in terminal and running rake db:migrate and then rake db:seed to seed the database. Run rails s to start the rails server

Playing the Game

After launching the rails server, you can simply open the index.html file located in the backend folder in your favorite browser.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/'kjdowns'/js-adventure. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Javascript Adventure project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

2D Dungeon crawling game using HTML5 and Javascript with a Rails back end.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published