Frontend uses outdated version of PureScript and is not compiling!.
...
MLP:CCG Draft Simulator
Home Page: https://draft.horse.cards
License: BSD 3-Clause "New" or "Revised" License
Now that there's a reliable way to check if there's an event listener connected it's quite possible to have an indicator wether a player is online or offline.
Monitor everything
It should be quite easy.
The way I do it now is eeeeh.
It would be nice to be able to sort cards by color, cost, requirements, etc...
Bascially a second pool where you can move cards from the main pool and back. So you can cut the cards during the draft process.
It's quite bad if the room is sweeped during the draft.
Maybe destroy rooms only when there are no event listeners connected?
Like in a real draft
Sweep thread should take care of removing rooms, so they're not stored in memory forever.
If the event listener times out, front-end should try to reconnect instead forcing the player to refresh the page
When everyone has picked their cards and the cards are rotated, the page should notify the player somehow about that, in case the player is browsing some other page or something
Right now the order of players is random (sorted by their UUIDs).
Maybe for user actions too
Or more generally graceful deploy tests
With only pictures of cards you can't really do much.
Bots should fill empty spaces when there's simply not enough people to simulate a normal draft.
Though implementing a bot system is not really trivial, because bots have to simulate what would a real player pick, to make the simulation more real.
After a new booster is cracked, new cards are shown as if you've already picked a card.
related #1
So you can kick unwanted users
That way the draft will be more realistic.
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.