Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

The Coder's Resource: SmallBasic
#16
(08-28-2012, 02:11 PM)Gors Wrote: http://smallbasic.com/program/?KGQ218

whipped this up at work, might have bugs and stuff but I couldn't test it often OTL

COLLECT 1000 BOTTLE CAPS TO WIN

How do I even activate it, all I see is a text box. Sad
#17
maybe you need microsoft silverlight to run it? not sure though
#18
It's definitely a Silverlight app, so that would make sense.
#19
by the way, i've updated my app in case your name is already steve. will upload as soon as I get the chance.
#20
I got Silverlight, and still see a text box. Am I supposed to type in Steve or something?
#21
If it looks kinda like this

[Image: qFAwV.png]

then yes, enter a name and click [Enter].
#22
[SPOILER=Okay I finally figured it out.]

Quote:Hey, bro! What's your name? >Steve
Is your name STEVE? Y/N
Yes
That's not a valid answer!!
Hey, bro! What's your name? >Steve
Is your name STEVE? Y/N

That's not a valid answer!!
Hey, bro! What's your name? >Steve
Is your name STEVE? Y/N
Y
Can I call you Steve instead? Y/N
Y
So, Steve, what's up?
We're going to play a game called...
Steve
GAME OF STEVE!

The game is simple. You're Steve, a happy man that loves collecting bottle caps.
But, your rival... what was his name again?
'Give a name to your rival.' >Gors

...oh yes, GORS! That was his name.

GORS likes to steal all your bottle caps when you're away. Protect your collection at all costs!!

So, Steve! It is day 1 and you have 100 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >[sleep]
That's not a valid answer!!
So, Steve! It is day 1 and you have 100 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 2 and you have 90 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 3 and you have 80 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 4 and you have 70 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 5 and you have 60 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 6 and you have 50 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 7 and you have 40 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 8 and you have 30 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 9 and you have 20 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


So, Steve! It is day 10 and you have 10 bottlecaps!

Do you want to take a [walk], [protect] the collection or [sleep]? >sleep
That piece of shit GORS stole 10 bottle caps from your collection!


You have no bottle caps anymore!
You got hurt and collapsed...

GAME OVER

I'm sorry Gors. Cute
[/SPOILER]
#23
http://smallbasic.com/program/?XSN479

this version jumps directly to the point if your name is already steve.

http://smallbasic.com/program/?LTH176

also metaprogramming.
#24
What happens if you name the rival Steve?
Edit: Nevermind just tried it.
#25
Why does Gorsal the Green like stealing Steve's useless bottle caps. Tongue
#26
I may not have posted anything till now, but these SmallBasic tut's are great!

I'm truly grateful, Sengir, for you doing this, i've been following along and then some, learned a couple tricks thanks to your example programs as well Gors.

I'm p. excited for the next installment!
#27
(08-30-2012, 05:36 PM)Shadow Kami Wrote: Why does Gorsal the Green like stealing Steve's useless bottle caps. Tongue
Ever played Fallout?

I'm keeping a secret stash of bottle caps just in case.
#28
I figured this thread would need some life

http://smallbasic.com/program/?ZVJ452
#29
I crashed it
#30
I broke it.


Forum Jump:


Users browsing this thread: 2 Guest(s)