Generate 4x4 board on back end, detect 4x4 winning cells