Giter Club home page Giter Club logo

guessing-game's Introduction

Guessing-game

  • This is a create-react-app based single-page application with 2 separate web servers (in addition to the development server that create-react-app gives you.
  • The application will have a 'Start' button, and two columns labeled in the UI as 'Alfred' and 'Barbara' (which are the servers).
  • When the start button is pressed, the page will start a game, asking each server for a secret word, which is shown to the user.
  • The servers will alternate guesses, each attempting to determine the others secret word.
  • Each guess will be collected by the page from the server guessing, and the page will then send that word to the otherserver, which will respond with the number of matching letters (regardless of position) which is added to the column of the guessing server.
  • The server that responded with the number of matches will then be asked for it's guess, and the server that had made the previous guess will then be asked to score the new guess, and so forth, alternating turns.
  • When a winner is determined, each server is informed the game is over, and the winner is shown on the page.
  • The user is given the option to start a new game. Doing so will clear the previous guesses.

Demo

Demo image

guessing-game's People

Contributors

tcsx avatar

Stargazers

Ricky Wu avatar  avatar Amireux avatar Chentao Wang avatar cameron93lin avatar Sijia Li avatar

Watchers

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