Give me a small coding challenge.
Root / Programming Questions / [.]
HTV04Created:
Recently, I've been getting back into SmileBASIC, and after playing around with some other programmimg languages, I want to see what I can do in SmileBASIC in order to refresh my memory with it. Try giving me a small coding challenge (but not too challenging, please) and I'll try to see if I can do it.
P.S. By small I mean around one or two screens of code, I don't want anything too large, just challenges to refresh my memory.
Here it is:I'll take your crossed out challenge instead because OSPs (I see what you did there) are pretty hard to make, and combining it with the no "s" challenge just makes things harder.create a program in 20 characters that's a challengeTry the no S challenge in an OSP 'cause why not
WHILE 1?"* *";:WENDThis program is 19 characters long, 20 including the blue arrow. It makes a pattern on the screen.
?”\ ‾x_”;:EXEC.
Significantly cooler pattern, slightly longer tho.
How about a fractal, small code, interesting result. I suggest the Sierpinski Carpet. https://en.m.wikipedia.org/wiki/Sierpinski_carpet
How about makePress start to stop the timer when the last two digits are the same. Try to have as close to 1 lines ending in that digit pair onscreen as possible. 4 levels of difficulty.athe best game in 20 characters
easy mode
?TIME$EXEC.(11)
normal mode
?MAINCNT:EXEC.(14)
lunatic mode
?MILLISEC:EXEC.(15)
baby mode
?DATE$EXEC.(11)