AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sliders Game!!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
[¤GoO¤]



Joined: 22 Feb 2005
Posts: 60
Location: Sweden

PostPosted: Mon Mar 28, 2005 7:57 pm    Post subject: Sliders Game!! Reply with quote

I've finally managed to write a (working) Sliders script. Very Happy
This version has only 3x3 bricks.
But will be upgraded...

Features:
¤ Shuffling (manipulating mouseclicks)
¤ Detecting when you have finished the "puzzle"
¤ Detecting whether you have broke your earlier "Sliders record"
¤ Keeping track of how many bricks you have managed to put in their right positions.

Enjoy! Cheers everybody! Very Happy

Download Sliders.zip (including images) here!!
_________________
"Make everything as simple as possible, but not simpler."
- Albert Einstein (1879-1955)


Last edited by [¤GoO¤] on Wed Mar 30, 2005 1:29 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1718

PostPosted: Tue Mar 29, 2005 12:40 pm    Post subject: Reply with quote

very nice! Cool
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Tue Mar 29, 2005 12:55 pm    Post subject: Reply with quote

I tried it and it looks great. Thanks for posting it.

One tiny improvement would be to add GuiClose as the first line here:

GuiClose:
Escape:
Exitapp

Also, some speedups for dynamic variables (such as Array%i%) are planned for the near future, which should help scripts like this one and Tetris perform better.
Back to top
View user's profile Send private message Send e-mail
[¤GoO¤]



Joined: 22 Feb 2005
Posts: 60
Location: Sweden

PostPosted: Tue Mar 29, 2005 1:07 pm    Post subject: RE: Reply with quote

Thank you guys for the comments. Very Happy
To Chris:
I have added the "tiny" improvement to my script and it will be upgraded shortly.
_________________
"Make everything as simple as possible, but not simpler."
- Albert Einstein (1879-1955)
Back to top
View user's profile Send private message Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Tue Mar 29, 2005 1:14 pm    Post subject: Reply with quote

Nice one!
_________________

Back to top
View user's profile Send private message Visit poster's website
Tekl



Joined: 24 Sep 2004
Posts: 813
Location: Germany

PostPosted: Wed Mar 30, 2005 10:03 am    Post subject: Reply with quote

Nice, could be improved with a highscore-list

Tekl
Back to top
View user's profile Send private message Visit poster's website
[¤GoO¤]



Joined: 22 Feb 2005
Posts: 60
Location: Sweden

PostPosted: Wed Mar 30, 2005 10:09 am    Post subject: Re: Reply with quote

To Tekl:
Great idea! I'll work on it!
BTW, I just released an upgrade. It now has a Solve function that I recommend you to test!
Please comment if you like it!

Thank you everybody for the nice comments!
_________________
"Make everything as simple as possible, but not simpler."
- Albert Einstein (1879-1955)
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Wed Mar 30, 2005 1:12 pm    Post subject: Reply with quote

I hope you don't mind, but I edited the post above and the one at the top to point to your new link, and deleted the other topic. This is because keeping everything all under one topic is much easier to follow. An extreme example of this is SmartGUI Creator, which even though it has 25 pages of replies, always has its latest version on the very first post of its very first page, making it easy to find.

Here is Titan's post from the deleted topic:
Titan wrote:
Very nice. I managed to do it in a pathetic timing of 63 seconds !
The solve function is real smooth.
Code:
ButtonClickTour:
Run, Sliders Click Tour.ahk ; needs to be "Sliders Click Tour (with Solve).ahk" as you named it that, as to avoid the error-dialog

Maybe you can do one with pictures instead of number blocks.
Also the MouseClick is quite annoying, I think ControlClick would do better.


Thanks again for sharing this entertaining script.
Back to top
View user's profile Send private message Send e-mail
[¤GoO¤]



Joined: 22 Feb 2005
Posts: 60
Location: Sweden

PostPosted: Wed Mar 30, 2005 1:32 pm    Post subject: RE: Reply with quote

I've changed the path in Menu Sliders.ahk so that it runs the right file. Smile
ControlClick is a good idea! I'll change to it and update as soon as possible!

Thanks for the comments everyone! Very Happy
_________________
"Make everything as simple as possible, but not simpler."
- Albert Einstein (1879-1955)
Back to top
View user's profile Send private message Visit poster's website
Invalid User



Joined: 14 Feb 2005
Posts: 442
Location: Texas, Usa

PostPosted: Wed Mar 30, 2005 1:48 pm    Post subject: Reply with quote

my record is 12.641000 second whew, and on my third play, I like this thing!
_________________
my lame sig Smile
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
[¤GoO¤]



Joined: 22 Feb 2005
Posts: 60
Location: Sweden

PostPosted: Wed Mar 30, 2005 2:20 pm    Post subject: Tournament? Reply with quote

Mybee we should have a tournament or something! Very Happy
*working on adding a real highscore to it...*
_________________
"Make everything as simple as possible, but not simpler."
- Albert Einstein (1879-1955)
Back to top
View user's profile Send private message Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Wed Mar 30, 2005 2:30 pm    Post subject: Re: Tournament? Reply with quote

[¤GoO¤] wrote:
*working on adding a real highscore to it...*
Was you planning to add a generic league table (competing aginst scores you made up) or one that connects to the internet?
_________________

Back to top
View user's profile Send private message Visit poster's website
[¤GoO¤]



Joined: 22 Feb 2005
Posts: 60
Location: Sweden

PostPosted: Wed Mar 30, 2005 3:44 pm    Post subject: Re: Reply with quote

Quote:
Was you planning to add a generic league table (competing aginst scores you made up) or one that connects to the internet?

Well, I thick I'll make a simple highscore to start with. The last, I think I'll have to learn a bit more about before I make a script for it.
Unless you, or someone else want to do something like it, or give me some advice. Wink
_________________
"Make everything as simple as possible, but not simpler."
- Albert Einstein (1879-1955)
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sun Feb 05, 2006 12:10 am    Post subject: Reply with quote

links not working Sad
Back to top
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sun Feb 05, 2006 9:49 am    Post subject: Reply with quote

Tested the link, indeed it states: Hosting Service temporarily suspended.

Perhaps somebody with the script or [¤GoO¤] if he is still around should host it on AutoHotkey.net.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group