|
Post by Bit on Apr 28, 2017 0:41:59 GMT
Noice. EDIT: Woo! First thread with a 2nd page!
|
|
|
Post by Josh on Apr 28, 2017 6:18:58 GMT
128 you can nitpick yours a bit more to make it 4 characters shorter but that'd be a lame way for me to win. Trying to think of a new short approach Hows this Lua, 58 characters
x=0("012346789"):gsub(".",function(z)x=x+z end)print(45-x)
Nice! Pretty sure that cannot be beaten in RBX.Lua at least!
|
|
|
Post by Josh on Apr 28, 2017 6:19:37 GMT
Noice. EDIT: Woo! First thread with a 2nd page! Wooo!!
|
|
chimmihc
New Member
Veteran
Posts: 8
ROBLOX Username: chimmihc
|
Post by chimmihc on Apr 28, 2017 6:26:49 GMT
Hows this Lua, 58 characters
x=0("012346789"):gsub(".",function(z)x=x+z end)print(45-x)
Nice! Pretty sure that cannot be beaten in RBX.Lua at least! Is that a challenge? Lua, 56 characters. x=45("012346789"):gsub(".",function(z)x=x-z end)print(x)
|
|
|
Post by Josh on Apr 28, 2017 6:29:02 GMT
Nice! Pretty sure that cannot be beaten in RBX.Lua at least! Is that a challenge? Lua, 56 characters. x=45("012346789"):gsub(".",function(z)x=x-z end)print(x)
Looks like it can be beaten! I didn't think of that chimmihc! Nice solution!
|
|
|
Post by 128Gigabytes on Apr 28, 2017 7:29:29 GMT
Lua, Also 56 characters
x=45 for z=1,9 do x=x-("012345678"):sub(z,z)end print(x)
|
|
|
Post by Bit on Apr 28, 2017 20:16:52 GMT
Is that a challenge? [2] x=45 for z=1,9 do x=x-("012345678"):sub(z,z)end warn(x) 55 (Just edited 128GB's, don't credit me at all on this one.)
|
|
|
Post by Josh on Apr 28, 2017 20:20:18 GMT
Is that a challenge? [2] x=45 for z=1,9 do x=x-("012345678"):sub(z,z)end warn(x) 55 (Just edited 128GB's, don't credit me at all on this one.) Oh yeah, forgot about warn!
|
|
|
Post by Bit on Apr 28, 2017 20:23:54 GMT
Hehe. Back to coding my custom console for SSB.
|
|