The VG Resource
The Coder's Resource: SmallBasic - Printable Version

+- The VG Resource (https://archive.vg-resource.com)
+-- Forum: Archive (https://archive.vg-resource.com/forum-65.html)
+--- Forum: July 2014 Archive (https://archive.vg-resource.com/forum-139.html)
+---- Forum: Creative Zone (https://archive.vg-resource.com/forum-86.html)
+----- Forum: Games Development (https://archive.vg-resource.com/forum-22.html)
+----- Thread: The Coder's Resource: SmallBasic (/thread-21153.html)

Pages: 1 2 3


RE: The Coder's Resource: SmallBasic - Garamonde - 08-28-2012

(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


RE: The Coder's Resource: SmallBasic - Gors - 08-28-2012

maybe you need microsoft silverlight to run it? not sure though


RE: The Coder's Resource: SmallBasic - Hoeloe - 08-30-2012

It's definitely a Silverlight app, so that would make sense.


RE: The Coder's Resource: SmallBasic - Gors - 08-30-2012

by the way, i've updated my app in case your name is already steve. will upload as soon as I get the chance.


RE: The Coder's Resource: SmallBasic - Garamonde - 08-30-2012

I got Silverlight, and still see a text box. Am I supposed to type in Steve or something?


RE: The Coder's Resource: SmallBasic - Previous - 08-30-2012

If it looks kinda like this

[Image: qFAwV.png]

then yes, enter a name and click [Enter].


RE: The Coder's Resource: SmallBasic - Garamonde - 08-30-2012

[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]


RE: The Coder's Resource: SmallBasic - Gors - 08-30-2012

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.


RE: The Coder's Resource: SmallBasic - Zadaben - 08-30-2012

What happens if you name the rival Steve?
Edit: Nevermind just tried it.


RE: The Coder's Resource: SmallBasic - Kami - 08-30-2012

Why does Gorsal the Green like stealing Steve's useless bottle caps. Tongue


RE: The Coder's Resource: SmallBasic - Guy - 08-30-2012

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!


RE: The Coder's Resource: SmallBasic - Previous - 08-31-2012

(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.


RE: The Coder's Resource: SmallBasic - Gors - 09-18-2012

I figured this thread would need some life

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


RE: The Coder's Resource: SmallBasic - Vipershark - 09-18-2012

I crashed it


RE: The Coder's Resource: SmallBasic - Kami - 09-18-2012

I broke it.