Giter Site home page Giter Site logo

etcusic / memory-game-interface Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 317 KB

A single page JS web application intended for a user to practice flash cards as a memory game - with a timer, score, etc. Object oriented design principles were used, and it is essentially a primer for React.

License: MIT License

HTML 7.78% JavaScript 87.83% CSS 4.39%
game rails-api single-page-app javascript

memory-game-interface's Introduction

Instructions:

For the backend structure, clone the repository from the Rails API repo link and run the following commands in your CLI:

bundle install rake db:migrate rails s

(to initialize the seed data, type in 'rake db:seed' into your console)

This should set up the rails server if everything runs correctly. Then clone this repo and open up index.html into a browser and have fun!

Pages Checklist:

  • Greeting Page
  • Base Page
  • High Scores Page
  • Game Page
  • Practice Page
  • Create Deck page
  • Edit Deck page

Refactor Checklist:

  • Set up "component" structure to manage change views throughout the application
  • Create Page class to substitute Display class properties and set as parent class to pages
  • Refactor pages directory - consolidate views, add initialize method
  • Refactor JS "components" as their own files
  • Create a single source of truth for session so that it doesn't need to be passed through as argument

Additional App Features:

  • Allow user to choose side A or B to be quizzed on
  • Incorporate a pause and display correct/incorrect after every submission
  • Incorporate rounds on the scoreboard during the game
  • Inorporate different levels with scoring for the game
  • Add a practice element to the application
  • Be able to create new decks and cards
  • Scope out high scores for different decks, levels, and users
  • Display current users high scores after game
  • Add a profile picture to page
  • "Logout" button - wipe and log session & return to landing page

memory-game-interface's People

Contributors

etcusic avatar

Watchers

 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.