GithubHelp home page GithubHelp logo

clicky-game's Introduction

Avatar the Last Airbender Memory Game

This is a memory game which will test your ability to remember Avatar the Last Airbender chracters. Ultimately, this is a React web application designed to show my abilities to use the front end framework. This is made entirely with React.

Technologies

React, JavaScript

Installation

To install this app. Just clone the repo. Go to your command line in the terminal and run.

npm i

Once all of the dependencies are installed you can run the following command to start the application.

npm start

This will begin the development server. You can make changes as you see fit!

Notable Features

The game loads the characters from a JSON file. From that data a card is generated for each character. These cards are lined up in aplhabetical order until a user clicks on the first card. At this time they will randomize and change position.

Showing the randomization of the characters

As you play you will notice a banner on top of the game which will change text as you play.

Showing the banner changing as you play

Also note that when you play your score will increase. Once you hit a wrong character it will reset your score to 0 and you highscore will remain.

Showing the score functionality

Notable Parts of the Project

The most difficulat thing about this project was by far getting the props passing correctly to the elements. Also, creating the randomization function to change the cards position by index was challenging. The score calculator took some tinkering as well. I think the most notable feature from this whole project is rendering multiple cards from a json file. The data is far more compressed in a JSON and being able to mak through that data rather than saving a card for each character can save alot of memory and space when loading a web applicatoin. Some uses of this would be a product site which would could load information about multiple products simply using one card component.

clicky-game's People

Contributors

pkennedytx1 avatar

Watchers

James Cloos 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.