Giter Club home page Giter Club logo

star-wars-top-trumps-ember's Introduction

Star Wars Top Trumps

We want you to have fun doing this test so we’ve chosen a subject matter that is a little unusual, but should be more fun that other tests you may have done.

Using SWAPI: https://swapi.co/documentation

Build an application to select random people or starships and render their details to see who would win based on a common attribute. i.e. people have mass and starships have crew. A person with greater mass wins, a starship with more crew wins.

The app should render the attributes from the resource in a simple web page that allows you to ‘play’ the game.

Once two cards are displayed the app should declare one of the cards a winner based on the higher common attribute.

Having displayed the winning card, the user should be able to play again using an action button that repeats the same request.

Bonus points! These are not required, just adds to your portfolio in an interview: 1 - Score counter. If there are two players, left and right, show how many times each side has won. 2 - Option to select which resource to play against 3 - Use http://materializecss.com/ and display the details in a card http://materializecss.com/cards.html and the winning attribute in chips http://materializecss.com/chips.html.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd star-wars-top-trumps
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint:hbs
  • npm run lint:js
  • npm run lint:js -- --fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

star-wars-top-trumps-ember's People

Contributors

ember-tomster avatar

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.