“ Bug is bug. Lesser, greater, middling makes no difference. The degree is arbitary. The definition’s blurred. If I’m to choose between one bug and another I’d rather not choose at all. ”
Geralt of Rivia (Nerver said that)
Avalon's quest resolver.
“ Bug is bug. Lesser, greater, middling makes no difference. The degree is arbitary. The definition’s blurred. If I’m to choose between one bug and another I’d rather not choose at all. ”
Geralt of Rivia (Nerver said that)
To improve visual sign on browser tab
Need some styles
We should restrict write/read operations on Firebase database to authenticated users only -- which is firebase default settings. So that we need proper authentication for the app. It can be easily implemented by Firebase auth module.
When user create the room, the 4-digits code will be given. Others user can use this code to join the existing room.
This helps us easier to index players in our database. Make it more flat structure.
This allows multiple users to join the same room. It also enables multiple game sessions running in the same time.
Scenario
We need our own useful README instead of create-react-app README
What I have learned from #2
firebase.auth().onAuthStateChange()
will be calledgetRedirectResult()
is called only once after the sign in is finished. Not very useful.Both refer to 4-digits number generated when the user created the room.
Example: https://github.com/SAYONG/avalon/blob/master/src/app/api/room/index.js
The user should see the loading screen until the app can determine which room the user should be sent to.
What will happen if the user leave the room?
We need it so we can place some menus 😂😂😂
We need this, don't we?
Sent from my HUAWEI BTV-DL09 using FastHub
nav component has been deprecated.
link
When the last user leaves the room, the system should automatically delete that room. This allows room with the same key can be created next time.
I think we should use Firebase function to implement this behavior.
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.