Comments (1)
To clarify, the check made before the game is already implemented here and run currently! It's implemented here
So that only leaves the check in the frontend, we can do that by calling the implementation and checking if it throws an error (and down the line use the specific error to print a message that points out the specific problem).
I'm not sure what constructor you're referring to in the title?
Regarding the deck limitation, I wouldn't worry about it too much, 256 is plenty, we'll just need to add a warning when that limit is reached + hide the "new deck" button when that occurs.
from 0xfable.
Related Issues (20)
- Split Game.sol to fit under the contract size
- Overhaul card collection display HOT 1
- Complete 0xFable Proof-of-Concept
- Use `shadcn/ui` as the primary component library.
- Merge Collection and Editor HOT 1
- Bring custom decks onchain HOT 2
- Improve text readability HOT 1
- Automate card draw HOT 1
- Fix validateDOMNesting error
- Fetch game ID for game creator HOT 1
- Implement player handles HOT 13
- Implement a PoC chatbox HOT 7
- Add Github CI checks for linting etc HOT 3
- Add indicators for illegal card play HOT 7
- Fix join game flow race condition (regression)
- Fix regression in global error modal HOT 1
- Card displayed in play area is not the same as card being played from hand
- Card draw animation plays on initial hand HOT 5
- Unable to join game HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 0xfable.