10.12.1 • Published 8 months ago

@quenty/conditions v10.12.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Conditions

Adornee based conditional system that is sufficiently generic to script gameplay.

Installation

npm install @quenty/conditions --save

Design challenges

The issue for conditions is they must be scriptable enough that anything can implement them, including external consumers, but flexibile enough that any gameplay can be constructed with them.

Additionally, we want to observe conditions for an adornee over specifically having them on a loop, so we want to definitely leverage Observables/Rx here.

Finally, there's a networking component here, where we want to define code once, but network it across many places. But we're also latency sensitive for conditions, that is, we should be able to deny actions as soon as they occur on the client.

Design results

For this reason, we end up with basically just a way to bind functions to a folder. Thus, we're scriptable. To allow replication/avoid duplicate implementation at the server/client layer we'll add another layer here where we'll bind conditions to the client/server.

10.12.1

8 months ago

10.12.0

8 months ago

10.11.2

8 months ago

10.8.0

9 months ago

10.11.1

9 months ago

10.11.0

9 months ago

10.9.0

9 months ago

10.10.0

9 months ago

10.10.1

9 months ago

10.7.0

10 months ago

10.6.0

11 months ago

10.5.0

1 year ago

10.4.0

1 year ago

10.3.0

1 year ago

10.2.0

1 year ago

10.1.0

1 year ago

10.0.0

1 year ago

7.0.0

1 year ago

9.0.0

1 year ago

8.0.0

1 year ago

6.0.0

1 year ago

5.4.0

1 year ago

5.3.0

2 years ago

5.2.0

2 years ago

4.25.0

2 years ago

4.26.0

2 years ago

5.0.0

2 years ago

4.24.0

2 years ago

4.29.0

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago

4.23.0

2 years ago

4.28.0

2 years ago

4.22.0

2 years ago

4.27.0

2 years ago

4.18.0

2 years ago

4.21.0

2 years ago

4.19.0

2 years ago

4.20.0

2 years ago

4.16.0

2 years ago

4.10.1

2 years ago

4.12.0

2 years ago

4.14.0

2 years ago

4.10.0

2 years ago

4.15.0

2 years ago

4.15.1

2 years ago

4.17.0

2 years ago

4.11.0

2 years ago

4.13.0

2 years ago

4.9.0

2 years ago

4.8.0

2 years ago

4.4.1

3 years ago

4.6.0

2 years ago

4.5.0

3 years ago

4.7.0

2 years ago

4.5.1

2 years ago

4.4.0

3 years ago

4.3.1

3 years ago

4.1.0

3 years ago

4.3.0

3 years ago

4.2.1

3 years ago

4.2.0

3 years ago

4.0.0

3 years ago

3.1.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.1.0

3 years ago