Giter VIP home page Giter VIP logo

unit-4-game's Introduction

Chess Piece Game

Overview

In this assignment, I create a fun and interactive game for web browsers. This interactive game updates the HTML pages with jQuery library.

The object of the game is to get the user to click on each chess piece that will generate a random number. Each number generated will add a vaule to the "Score" allowing the user to match the "Taget Number".

This is how the game works. At the start of the game, the target number will be displayed. There are four chess pieces.By clicking on a chess piece, you will add a specific number of points to your total score.

The way you win the game is by matching your total to the target number. The way you lose the game is if your total score goes above the target number. The value of each chess piece is hidden from you until you click on it. Each time when the game starts, the game will change the target value and the value of each chess piece. The application should show the number of games the player wins and loses. To that end, do not refresh the page as a means to restart the game.

Technology Used

  • HTML

  • CSS

  • Javascript

  • JQuery

  • Reset

Chess Piece Game

Get Code Here

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.