Validating Actions using Acceptors in our State Machine
Objective
To ensure the validity of our state by rejecting actions that would lead to an invalid state thru the use of acceptors.
Setup
We have a made up card game where the cards are either in a players hand or a pile. The only action that exist in...
solveforx.hashnode.dev6 min read
william anderson
A+ wow love it