Skip to main content
100%

Refucktoring: Roman numerals in LUA

✓ Published0🌍 Public
Aabehmiel
Last edited Sep 14, 2017
Created on Jun 28, 2017

A deliberately obfuscated Lua implementation of Roman numeral conversion hides all arithmetic and constants behind absurdly named functions and Monte Carlo simulation. The code defines numerals like Cicero() for "C" and IIIII() for "V", then derives values by random sampling. It uses the Busted testing framework to validate conversion functions sourced from Rosetta Code.

AI-generated description

Similar vizzes