Irish Snap: Variant Rules
Perl 6, 16 bytes



3&gt;(*-(*|*)+1)%13


Try it online!

Anonymous whatever lambda that takes input as top, middle, bottom and returns a Junction that evaluates to True or False