Code Monkey home page Code Monkey logo

fend-project-memory-game's Introduction

Memory Game Project

Page of Working Game

  • How the Game was created
  • How the game is played
  • Game Working
  • What the player is to expect from the game

Instructions

The starter project has some HTML and CSS styling to display a static version of the Memory Game project. And it is apart of Web Front-End course of Udaciy for specific, detailed instructions, look at the project instructions in the Udacity Classroom.

How the Game was created

The Game was created from a project of Udacity Nano degree program. The main goal is to do a simple memory card game using only HTML and JavaScript

How the game is played

When a card is clicked, it shows what symbol's in it. Users should select two cards by guessing their location. Memory Game can be completed when finding all pairs of the same symbols

JS Files

app.js

It has the main logical of the game

card.js

A simple object that has the only the constructor of the cards

clock

Has the ability and responsibility of the clock logical, it has the following methdos

  • getTimer - Return the exact time that the game has been played
  • setTimer - Add and update the timer at the HTML

score

File that has the object responsible for the scores and moves that player has done. The object has the following methods

  • getMoves - Set the moves at the HTML
  • countMoves - Count the moves that has been done
  • getStars - Set the stars over the HTML
  • countStar - Count the total of stars that player has
  • removeStar - Remove one start
  • isGameOver - Check if the games is over or not
  • addWrongMoves - add a count at the wrong moves
  • addMove - add a move
  • delMove - delete a move
  • isWin - Check if the player win

helperHtml

Has the dynamics htmls that was necessary to mount the game

fend-project-memory-game's People

Contributors

mrmicc avatar richardkalehoff 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.