Giter VIP home page Giter VIP logo

05.11-group-number-guessing-game-starter's Introduction

Team Random Number Guess

In this challenge, you will be creating a number guessing game! You'll have plenty of time to work on this as a group. Start by spending 5 minutes reading through the requirements individually. After reading through the requirements, come together as a group and talk about what you would like to get out of the project.

intro

Tech: Node, Express, and JQuery

Base Mode

You should generate a random number between 1 and 25 on the server. Add input fields to match the number of people in your group. Each member of your group will submit a guess at the same time. All of the guesses should be sent to the server (POST). The server will check each guess against the random number. After submitting a round of guesses, retrieve all of the previous guesses (GET) and display them on the screen. Let each user know whether their guess was correct, too low or too high.

  • an input field for each of the Players to make a guess
  • a submit guesses button (submits all guesses at the same time)
  • total guesses made indicator (think of this as rounds in a game)
  • details area for the history of guesses for each player (tell them if their last guess was too low or too high)
  • if a guess is correct PROMINENTLY Display which player won (make 'em FEEL it)
  • if there is a winner, a restart button that tells the server to select a new random number (POST)

Necessary Ingredients

AKA Client Demands...

All random number stuff should happen on the server: Generation of the random number upon game start as well as comparisons between guesses and the random correct answer.

Take a moment to discuss with your team members why this is something that a client may demand.

Once you get it working, style it up, yo!

Stretch Goals:

The list below is not in any order of priority. Before attempting any of these, commit your working base mode. Make sure each member of your group understands what you completed for base mode!

  • have the random number generator be in its own node module, look back at the Module Madness activity to do this.
  • allow for users to generate a new game with a manual min/max random number range
  • disallow two users to submit the same guess at the same time
  • add a bot player that guesses a random number each time in addition to the players (this bot should really talk trash when it beats a bunch of humans)
  • what are your ideas? Have some fun with it

05.11-group-number-guessing-game-starter's People

Contributors

aangbel avatar

Watchers

 avatar

Forkers

zackariaantar

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.