edmundkorley / hangman Goto Github PK
View Code? Open in Web Editor NEWA simple implementation of the hangman game.
Home Page: https://edmundkorley.com/hangman
License: MIT License
A simple implementation of the hangman game.
Home Page: https://edmundkorley.com/hangman
License: MIT License
After functionality is fully implemented, please reduce eye-soreness-factor.
Plus this only fully works for Chrome right now. Flexbox support is lacking on Safari and our wordService
needs to be transpiled by Babel for Firefox and Safari (since we used the class
keyword).
Words(store)
- store is the locale from which to fetch words.getWord(config)
- get a specific word from the /words API with a specified configuration, could implement the necessary caching needed to avoid extra requests.Implement functionality to guess full words and phrases.
Track users/scores over time and show a leaderboard
Display the current keys correctly guessed and underscores for the keys to be guessed.
Display information about the current session such as incorrect guesses made, guesses left, record, and so on.
Keyboard(charset)
- initialized with a default character alphabetic set.registerDelegate()
- a delegate method for when a user keystroke or user clicks on visible key event happens. Will call a userKeyed(key)
method on the delegate.Containerize the game logic to weave the previous components together and implement a fully functional game.
Drawing(config)
- initialized with an optional configurable object for the properties of the hangman, such as gender, style, etc.drawNext()
- draws next piece of hangman in order.refresh(config)
- reinitialize the hangman with new optional configuration.isFull()
- checks whether all pieces of hangman have been draw.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.