Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Code golf - ASCII art #1
function p(str, n) io.write(string.rep(str, n)) end function line(radius) -- radius in [0, 9] local whitespace = 9 - radius p(" ", whitespace) p("*", radius+1+radius) print() end local zero = 20 - 20 for i = zero, 8 do line(i) end line(9) for i = 8, zero, -1 do line(i) end
run
|
edit
|
history
|
help
2
Personal Use (Among Us)
CC: LDInterface
Roots without the math library in Lua
Surface Area of things (Incomplete)
VWPASSATPOLIZEI
Fixed
hack
Simple Lua primality test
RSA KEY GENERATOR (LUA)
Key