@cardsgame/utils v2.0.0
@cardsgame
Libraries for creating card games in general.
Packages included
@cardsgame/server
- base server-side lib. Just write your own game actions, condition and elements (classic card games elements already included).@cardsgame/client
- base client-side lib. No rendering included/enforced. Gives you neatly packed game state updates, so you could render your game in whatever way you want.@cardsgame/utils
- some utilities used by both server and client side code. You too might find them useful.@cardsgame/types
- TS types for things used in both server and client side code.
Example usage
In the ./example/
directory you'll find the most basic implementation of this lib. Client-side is "rendered" with vanilla JS.
Wishlist
Right now I'm focusing on the basics, and I'd love to start working on the following in the future:
- Play against bots - in games you define all possible moves and their conditions. Such list could be one day used by simple AI system to choose actions automatically.
- Game variants - most classic card games play different in different regions. I'd like to make it possible to define, select and play what kind of the game you wish to play exactly.
- Accessibility - color blindness, high contrast, keyboard controls, screen readers, voice activation, all the good stuff. Make games accessible to as much people as possible.
- Online profiles - at the very bottom on the list for a reason.
3 months ago
3 months ago
6 months ago
7 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago