2.2.2 • Published 1 year ago

@cardsgame/utils v2.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
1 year ago

CircleCI Coverage Status Bugs Vulnerabilities Maintainability Rating Reliability Rating Security Rating

Commitizen friendly

@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.
2.2.1

1 year ago

2.2.0

1 year ago

2.2.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.7.5

1 year ago

1.7.4

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.1.0

3 years ago

0.22.0

3 years ago

0.20.1

3 years ago

0.20.0

3 years ago

0.21.0

3 years ago

0.19.0

3 years ago

0.18.0

3 years ago

0.15.0

3 years ago

0.17.0

3 years ago

0.14.0

3 years ago

0.14.1

3 years ago

0.16.0

3 years ago

0.13.0

3 years ago

0.12.9

3 years ago

0.12.17

3 years ago

0.12.6

4 years ago

0.12.1

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0

5 years ago

0.9.0

5 years ago

0.8.3

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.2

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.19

5 years ago

0.2.14

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.4

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.22

6 years ago

0.1.21

6 years ago

0.1.20

6 years ago

0.1.19

6 years ago

0.1.18

6 years ago

0.1.17

6 years ago

0.1.15

6 years ago

0.1.14

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.2

6 years ago