- 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.
guessing-game's Introduction
guessing-game's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.