duedme / uno-game-sui Goto Github PK
View Code? Open in Web Editor NEWOnline game based on the UNO card game powered by Sui.
Online game based on the UNO card game powered by Sui.
The function that creates random cards can only make one only card.
It should be able to make different ones every time it is called.
new_deck() method doesn`t work because an infinite loop while creating cards. The loop should be fixed.
No player is added to the Game object when using enter_new_player() method in uno.move.
This should not happen as a players are needed to continue testing other game functionalities.
Since last upgrade in Sui system, the Scenario object uses the drop ability.
The test_scenario::end() method needs to be used to avoid problems with accidentally dropping the Scenario.
Changes should be done to make this work.
Since game struct is now shared, there is no need to transfer the object when an admin is chosen.
Tasks to do:
To prevent further errors while calling code. Some testing must be done.
This issue asks for some testing on uno.move and game_objects.move:
Some methods don't return anything and it causes errors.
In order to fix that, the Option type must be implemented.
Let's do that on both game_objects.move and uno.move.
The current implementation doesn't check some restrictions. Will be better when corrected.
Commentaries on param sections in the code should also include the type of each variable.
Ending a game is now optional.
Some ways it could be done are:
Implement both ways and a flag in Game object that tells if a game is actually finished.
In order to make the game more realistic, a total number of cards should be named.
The real physical game has 25 cards of each color. A total of 100.
The Sui game should do the same.
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.