User:Derrickthewhite

From BlogNomic Wiki
Revision as of 16:12, 2 October 2018 by Derrickthewhite (talk | contribs)
Jump to navigation Jump to search

My Dynasties: [None recoreded, but they exist]

Wiki Experiments:

woooooow
oooooooo
oooooooo
oooxxooo
oooxxooo
oooooooo
oooooooo
woooooow
// MASTER CONTROL PROGRAM

GNDT = `__GNDT`
MCPOutput = ""

if (GNDT == "__" + "GNDT") {
	printLine("Illegal execution? A GNDT dump must be provided.");
} else {
	GNDTLines = GNDT.split("\n")

	GNDTLines.forEach(function(entry) {
		GNDTFields = entry.split("\t")
		programName = GNDTFields[0]
		programInput = GNDTFields[1]
		programOutput = GNDTFields[2]

		if (programName == "card") {
			return 0
		}

		inputRegister = programInput.charCodeAt(0) + programInput.charCodeAt(1)
		outputRegister = programOutput.charCodeAt(0) + programOutput.charCodeAt(1)

		if (inputRegister < outputRegister) {
			printLine(programName + " check OK")
		} else {
			printLine(programName + " register disparity")
		}
	});
}

function printLine(message) {
MCPOutput += "[" + message + "]<"+"br"+">"
}