
Inspired and looted from this dice challenge by Arnauld
Input
You are given a 5x1 or 1x5 (your choice) dice matrix which consist of binary 3x3 sub-matrices.
Goal
Given a valid dice matrix (both forms of 2, 3, and 6 included), you are to score it using the rules of 6,5,4 which are as follows:
...