Sign in to follow this  
Followers 0
Travmanx

Lingo Classic

10 posts in this topic

#1 ·  Posted (edited)

Lingo Classic

------------------

If anyone has seen the game Lingo on Game Show Network, they will know what this game is all about. You need to guess the 5 letter word. I do not have it set up yet to only give you 5 trys but it will come in a later version including some better GUI. This is my first GUI program too.

------------------

Please help me in anyways I can improve my coding, or if any errors.

Edit: Change the $wordlist directory to

$wordlist = @ScriptDir&"\wordlist.txt"

Thanks

Travmanx :D

Lingo_Classic.zip

Edited by Travmanx

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

good job.

But personaly i have no idea what lingo is

You have a issue with gui and updating image of course IT wont work cause u cant update a gui image i dono why you just cant.

And i win every time without doing anything

Heres a tip

@ScriptDir

probly need $wordlist=@ScriptDir&"\wordlist.txt'

Edited by kcd-clan

Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()

Share this post


Link to post
Share on other sites

Did you extract?

Share this post


Link to post
Share on other sites

I forgot to say to change

$wordlist = "C:\AutoitScripts\Lingo\wordlist.txt"

To your scriptdir

Share this post


Link to post
Share on other sites

I've made a Lingo game in java in the past. I can look for the source. If I still have it you can have the words. PM me if you need them.

Share this post


Link to post
Share on other sites

You have a issue with gui and updating image of course IT wont work cause u cant update a gui image i dono why you just cant.

The image updates first click now.

If $RL1 = $letter1 Then
                    GUICtrlDelete($CL1)
                    $CL1 = GuiCtrlCreatePic("correct.bmp", 20, 90, 20, 20)
                    $i = $i+1
                Else
                    GUICtrlDelete($CL1)
                    $CL1 = GuiCtrlCreatePic("incorrect.bmp", 20, 90, 20, 20)
                EndIf
                If $RL2 = $letter2 Then
                    GUICtrlDelete($CL2)
                    $CL2 = GuiCtrlCreatePic("correct.bmp", 60, 90, 20, 20)
                    $i = $i+1
                Else
                    GUICtrlDelete($CL2)
                    $CL2 = GuiCtrlCreatePic("incorrect.bmp", 60, 90, 20, 20)
                EndIf
                If $RL3 = $letter3 Then
                    GUICtrlDelete($CL3)
                    $CL3 = GuiCtrlCreatePic("correct.bmp", 100, 90, 20, 20)
                    $i = $i+1
                Else
                    GUICtrlDelete($CL3)
                    $CL3 = GuiCtrlCreatePic("incorrect.bmp", 100, 90, 20, 20)
                EndIf
                If $RL4 = $letter4 Then
                    GUICtrlDelete($CL4)
                    $CL4 = GuiCtrlCreatePic("correct.bmp", 140, 90, 20, 20)
                    $i = $i+1
                Else
                    GUICtrlDelete($CL4)
                    $CL4 = GuiCtrlCreatePic("incorrect.bmp", 140, 90, 20, 20)
                EndIf
                If $RL5 = $letter5 Then
                    GUICtrlDelete($CL5)
                    $CL5 = GuiCtrlCreatePic("correct.bmp", 180, 90, 20, 20)
                    $i = $i+1
                Else
                    GUICtrlDelete($CL5)
                    $CL5 = GuiCtrlCreatePic("incorrect.bmp", 180, 90, 20, 20)
                EndIf

Share this post


Link to post
Share on other sites

Oh no this lame cool game..

Nice script :)


-jaenster

Share this post


Link to post
Share on other sites

Please help me in anyways I can improve my coding, or if any errors.

Hey, I have no clue what the hell Lingo is, but if you are trying to retrieve all the possible words using 5 letters placed in a random order, check out my Anagrams program in my signature. Personally, I think it's very well done, and if you have any trouble understanding what I did in the script or if you need any help adding it into your script, just PM me and I will be glad to help.

Kurt


Awaiting Diablo III..

Share this post


Link to post
Share on other sites

Hey, I have no clue what the hell Lingo is, but if you are trying to retrieve all the possible words using 5 letters placed in a random order, check out my Anagrams program in my signature. Personally, I think it's very well done, and if you have any trouble understanding what I did in the script or if you need any help adding it into your script, just PM me and I will be glad to help.

Kurt

Lingo is a popular game on Dutch television. It's like mastermind with words.

Share this post


Link to post
Share on other sites

my mom did it on tv


-jaenster

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0