beat-the-machine-deprecated's Issues
prompt is not colored
The prompt displayed to the user is no longer colored with red for masked words, and green for guessed words.
Add counter for guesses before the player lose
We would like to count the number of guesses the player is allowed to make before he fails the riddle. If the player failed, the submit button should be disabled and the solution should appear on the screen with an indication that the player didn't manage to solve the riddle.
Guesses are not cleaned when going to the next challange
whenever the player press "next" the current guess should be cleaned from the prompt section
Give hints to the player
As many of the riddles are hard to solve, we might consider adding some predefined hints to the player that we can give whenever the player decides to ask for them.
`Submit` button should be disabled after pressing `I Give Up!`
After the player presses the I give up!
button, the game should not allow them to enter any more prompts for this challenge
sub-strings are recognized as included
whenever a player types some string that contains a substring that is within the prompt the current code approves it, for example, in the prompt:
the quiet before the storm
if the player type:
whether
it will hit the
as it's a sub-string of whethe
r
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.