Skip to content

Instantly share code, notes, and snippets.

View John27052001's full-sized avatar

Megha John Babu John27052001

View GitHub Profile
function computePolkadotScore(asciiArt) {
const lines = asciiArt.split("\n");
let pupilCount = 0;
let lipsStart = Infinity;
let lipsEnd = -1;
// Find pupils and lips range
for (const line of lines) {
for (let i = 0; i < line.length; i++) {