Nico A
  • Member for 6 years, 6 months
  • Last seen more than a month ago
The Programming Language Quiz
103 votes

Lua, 2920 2865 Bytes, cracked by jimmy23013 I only learned this language yesterday so forgive any syntax errors. --[[~The infamous Hello World program~]] ...

View answer
Make your language unusable
69 votes

Lua _ENV="" In Lua, _ENV is the environment that all global variables, functions, tables, etc are stored in. Defining it to just be an empty string means you can't define anything new, and ...

View answer
1, 2, Fizz, 4, Buzz
4 votes

Lua, 88 86 bytes Saved 2 bytes thanks to @Mauris I'm sure this can be golfed more, any suggestions are welcome. for i=1,100 do n=(i%3<1 and"Fizz"or"")..(i%5<1 and"Buzz&...

View answer
Two Makes All The Difference - Cops
3 votes

Cracked Lua, 55 bytes Now with less skimpy underwear! This code might look like my last code that was sadly cracked, but I can assure the solution is completely different G={load="...

View answer
Don't google "google"
2 votes

Lua, 42 Bytes This challenge has made me realize how hard it is to cause an error in Lua. x=io.read()print(x~="google"and #x or t()) Takes an input and if that input isn't google than print ...

View answer
The Programming Language Quiz
2 votes

A:;, 19 bytes, cracked by Sp3000 o:Hello, World!;p:o

View answer
Digitising the Library of Babel
2 votes

Lua, 353 346 bytes Because of how lengthy the Pyth answer is and the fact that I know Lua could never even come close to Pyth I feel like I am missing a rule... Code: math.randomseed(os.time())g="...

View answer
Two Makes All The Difference - Cops
2 votes

Cracked Lua, 54 Bytes G={string="gs_hSDrGSFG5;U*ts"} print(tostring(G.string)) Current output: gs_hSDrGSFG5;U*ts Desired output: 23 Note: I'm not exactly sure why, but if you are using ...

View answer
Loves me, loves me not
1 votes

Lua, 137 132 bytes Probably can be golfed a lot more, but here it is for now: t=math.random(3,20)for i=1,t do io.write(i%2==0 and"Loves me"or"Loves me not")print(i==t and(i%2==0 ...

View answer
Will it halt? (Cops)
0 votes

Lua, 107 Bytes, Cracked I hate how verbose lua is - getting inputs takes up almost half the program. x=tonumber(io.read())or 2 y=tonumber(io.read())or 2 if y^(x%5)+x*y+y~=x^3-(x-120)*x then while 1 ...

View answer