GithubHelp home page GithubHelp logo

front-petbattle's Introduction

PET BATTLER

README

THIS IS THE FRONT-END PROGRAM; here is a link to the back-end: https://github.com/inee-ader/back-PetBattle

DESCRIPTION

Demonstration: https://www.youtube.com/embed/28-tl7ifg44

This was a group project for Phase 4 of Flatiron School Software Engineering program; cohort start date October 5th, 2020.

Built in one week with Ruby on Rails, JavaScript and React frameworks.

In this web app, the user chooses from a variety of fantasy-battle pets (from Blizzard's Pet API) to go up against a powerful Manticore boss! With a team of 3 pets, the user takes turns against the boss until one emerges victorious! One pet attacks at a time until it gets knocked out.

User Stories:

  • User is able to create, read(login), update, and delete account (full CRUD)
  • User has access to main menu buttons (choose team, edit user, logout)
  • User is able to choose 3 pets for their team
  • User enters battle and a game is created with a boss character
  • User commands pet abilities to take down the boss HP
  • User completes the game by winning or losing and cycled back to main menu

INSTRUCTIONS

After downloading the front and back end, you can put these files in a main directory on your local computer.

Start in back-end: Navigate to back-end and in the terminal, run bundle install to make sure all the gems are installed and up to date. Next, run a rails db:migrate to get your database created. Then, start a rails server with rails s which should open a localhost:3000 page in the browser.

In the front-end: Navigate to the front-end directory and in the terminal, run npm install or yarn to make sure all packages are present and updated. Next, run npm start or yarn start to open a localhost:3001 page in your browser. Since your rails server is running, it'll ask you if you want to open it up in another port, which is why this is localhost:3001.

CONTRIBUTING

For this project, we had some future stretch goals:

  • after battle, gold and experience is rewarded
  • gold is used to buy new pets, which can be unlocked with more battles
  • experience goes to the pets who can gain levels and increase their damage
  • different game modes may be set to battle a string of bosses, 3 v 1: all pets attack at once.
  • animating HP bars to display damage to pets and boss
  • once pets are knocked out, they appear disabled in the team box
  • animating pet and boss icons to move and bounce with attacks

AUTHORS

front-petbattle's People

Contributors

inee-ader avatar michael-lee-1994 avatar kgrowkgrow avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

kgrowkgrow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.