Logo game help

Previous topic - Next topic

fuzzy70

Soz for the double post, just answered & noticed a new one had been posted lol.

Quote from: kanonet on 2011-Nov-02
Ah so we're saying the same. So lets hope it was useful for fuzzy. ;)

It was useful Kanonet & thanks to all that helped in this matter. All I needed was to understand the rules of the game which in the help file was not overly clear. Thanks to Ian's links I now understand the game & the solution is so easy that I wouldn't even class it as needing AI, Just a nice simple NoOfClicksNeeded = Level+1   :D
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

fuzzy70

Basically prevent it from doing the same position one after the other, nice & easy to do. If current random x/y = previous random x/y then roll again.

Like I said in my original post, expanding an existing "Basic" framework will allow me to learn GLB a lot better than just picking a command & playing with that. At least I will have a goal or target to use the commands with. Even if they only make it into the title screen or such I feel that a place will be found to use most the commands.

My main aim is to learn GLB features & syntax. common/basic loops, branching etc are pretty well under my belt from many years of basic programming 
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

Ian Price

Quoteasically prevent it from doing the same position one after the other, nice & easy to do. If current random x/y = previous random x/y then roll again.
Yes and no! Don't allow it to consecutively use the same space (ie twice in succession), but also don't allow it to use the same space if no other click has affected the first click at a later time, as this would still negate the original click.

See this example -

(Purple indicates where to place click. Green shows results of earlier click)

In figure 1 - In the third pic it's OK to use the same space

In figure 2 - In the third pic it shows that you shouldn't use the same space.

So you need to when when it's OK to use the same space and when it's not.


[attachment deleted by admin]
I came. I saw. I played.

fuzzy70

Please excuse my previous few posts, my browser seemed to have a bad moment & said it had posted then said it hadn't  :S

I see what you mean, my previous example to the solution was worded just a bit to simply, although I did understand what was posted prior.

Sort of like an extra "this has been plotted & not affected another" type flag & check against that
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)

Kitty Hello

haha. The game was in a compilation called "Logo" in Germany had featured some rendered images ... ah, never mind.

fuzzy70

Quote from: Kitty Hello on 2011-Nov-03
haha. The game was in a compilation called "Logo" in Germany had featured some rendered images ... ah, never mind.

I know as I downloaded the Amiga version, didn't help at the time as the docs are in German  :D
"Why don't you just make ten louder and make ten be the top number and make that a little louder?"
- "These go to eleven."

This Is Spinal Tap (1984)