2.0.0 • Published 3 months ago

@cardsgame/utils v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 months 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.0.0

3 months ago

1.7.5

3 months ago

1.7.4

6 months ago

1.7.2

7 months ago

1.7.1

11 months ago

1.7.0

11 months ago

1.6.0

11 months ago

1.5.0

1 year ago

1.4.0

1 year ago

1.1.0

2 years ago

0.22.0

2 years ago

0.20.1

2 years ago

0.20.0

2 years ago

0.21.0

2 years ago

0.19.0

2 years ago

0.18.0

2 years ago

0.15.0

2 years ago

0.17.0

2 years ago

0.14.0

2 years ago

0.14.1

2 years ago

0.16.0

2 years ago

0.13.0

2 years ago

0.12.9

2 years ago

0.12.17

2 years ago

0.12.6

2 years ago

0.12.1

3 years ago

0.12.0

3 years ago

0.11.0

3 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.3

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.2

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.19

4 years ago

0.2.14

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.4

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.2

5 years ago