Travmanx Posted June 29, 2006 Posted June 29, 2006 (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 Lingo_Classic.zip Edited June 29, 2006 by Travmanx
kcd-clan Posted June 29, 2006 Posted June 29, 2006 (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 June 29, 2006 by kcd-clan Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
Travmanx Posted June 29, 2006 Author Posted June 29, 2006 I forgot to say to change $wordlist = "C:\AutoitScripts\Lingo\wordlist.txt" To your scriptdir
Hans K Posted January 31, 2007 Posted January 31, 2007 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.
Will66 Posted January 31, 2007 Posted January 31, 2007 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. expandcollapse popupIf $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
jaenster Posted January 31, 2007 Posted January 31, 2007 Oh no this lame cool game.. Nice script -jaenster
_Kurt Posted February 1, 2007 Posted February 1, 2007 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..
Hans K Posted February 1, 2007 Posted February 1, 2007 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.KurtLingo is a popular game on Dutch television. It's like mastermind with words.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now