msavoury / 5things Goto Github PK
View Code? Open in Web Editor NEWGame built for the purpose of learning Meteor
Game built for the purpose of learning Meteor
At the moment, all of the answer in the middle are the same color. This is a problem because unless the user is keeping track, it's hard to remember which answer was given to which player.
The solution is to have different colored score boxes for each player. Then each answer should match the color of the player who was awarded points for that answer.
Currently matching a potential answer is an exact string match. But "usa" and "united states" should technically both be considered the same answer. Because of this, the answers array should be an object with a shortValue and a list of other acceptable answers. A possible structure:
{ shortAnswer: "usa", answers: ["usa", "united states", "united states of america", "u.s.a."]}
Then checking the answer would require iterating through the list of 'answers'.
If the user refreshes the page, the session is lost which makes just about every thing useless at that point. Might as well redirec tthem to the front page where they can start over.
Sometimes during play, the user is about to enter the answer and the question changes. This makes them have to delete the text in the text box so that they can start typing their answers for the new question. It would be helpful if the box would just clear when the question changes.
Avoid XSS
People aren't realizing that there is a timer.
Newcomers aren't realizing that they have to input 5 answer. A set of blank lines that eventually get populated with the answer will go a long way to improve this.
After watching other people play, it has been noticed that people are not realizing when the question changes. Might be a good idea to add animation
At this point in time if 2 players can not reach 5 answers, the game will just stay there. Should allow the ability to move on after a specified amount of time per question.
Create a popup with an explanation of how to play and some information about the game such as the github link and a link to meteor.
If geolocation is enabled, show a location under where their username to show where they are playing from.
Makes it easier for people to figure out what's going on.
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.