A simple Game Rule System using 0 for Success
Using 0 for success and any other value for error. This unconventional strategy allows for granular error reporting, offering transparency in understanding rule failures. 
Tags: gamedev, typescript, functional