Jump to content

Lingo Classic


Travmanx
 Share

Recommended Posts

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
Link to comment
Share on other sites

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()
Link to comment
Share on other sites

  • 7 months later...

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
Link to comment
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..

Link to comment
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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...