Code Monkey home page Code Monkey logo

number-guesser-doubles's Introduction

Co-Authored by Anna Goodwin and Foster Taylor

This project is a number guessing game that utilizes media queries for responsive design, as well as positioning using flex.

Description

Using HTML, CSS, and JavaScript, the application window responds to resizing down to 320px for mobile viewports. Semantic tags were strategically placed in our HTML. Most JavaScript functions are under 10 lines long.

Features:

  • Ability to change minimum and maximum range. and update range -10 +10
  • Ability to generate a random number on load or between the chosen range on click.
  • Inputs for 2 players names and guesses.
  • Error messages for empty or invalid inputs.
  • Latest score displaying too high, too low or just right ("BOOM").
  • Result card displaying the winner of the game.
  • Ability to delete individual winner cards

How to Play

To win the game, a player must guess a randomly generated number. The range of this number can be changed manually. Players fill in their names and guesses. Upon submitting guesses, the game will display whether guesses are too high, too low, or will display a winner card with the winners name if the correct number is guessed. The input fields can be all be cleared when text is entered, and/or the game can be reset, which will generate a new random number.

Original comp:

Original comp

number-guesser-doubles's People

Contributors

annagoodwin avatar foster55f avatar

Stargazers

 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.