Wrote javascript to check a given row for a winner, or return undefined if none.
The game works now! Preview screenshot updated.