mrbond007 Posted December 14, 2007 Share Posted December 14, 2007 (edited) Brain Pain is a collection of simple, fun, addictive and effective pc games to train your brain. It offers activities to stimulate your brain by, solving simple equations as fast as possible, counting icons and many other easy and interesting games.It has 5 sections and each section has 6 mini games which can be played in 4 levels of difficulty. Also included a brain testing section for more fun. Unpack the zip file and let the fun begins.Notes : Feel free to add one second to the timer (adding more then one second is cheating)Read the help file you might like it. If you like it consider making a donation : http://www.autoitscript.com/donate.phpA translated version of this game by Xenobiologist can be found hereDownload : http://www.autoitscript.com/forum/index.ph...mp;showfile=105 Edited March 8, 2008 by mrbond007 Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
jvanegmond Posted December 14, 2007 Share Posted December 14, 2007 The game was not running for me until I realised it does this to check if it is not already running: If WinExists("Brain Pain") Then Exit Try to use SingleTon. github.com/jvanegmond Link to comment Share on other sites More sharing options...
gseller Posted December 14, 2007 Share Posted December 14, 2007 (edited) Haha!! I Love The Helpfile!! Have not even tried the game yet.. LOL edit: Very cool, only problem I see is no exit from game. I had to end task... Edited December 14, 2007 by gesller Link to comment Share on other sites More sharing options...
Nahuel Posted December 14, 2007 Share Posted December 14, 2007 (edited) BWAHAHA awesomee!! haha, the music is hilarious! -edit- Please add an exit button Edited December 14, 2007 by Nahuel Link to comment Share on other sites More sharing options...
mrbond007 Posted December 14, 2007 Author Share Posted December 14, 2007 I see is no exit from game. I had to end task...Alt+F4 exits the game Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
Nahuel Posted December 14, 2007 Share Posted December 14, 2007 Haha, dude I love it. Did you create all the games? Link to comment Share on other sites More sharing options...
mrbond007 Posted December 14, 2007 Author Share Posted December 14, 2007 (edited) Haha, dude I love it. Did you create all the games?of course what do you think?this project is the result of my AutoIt addiction (i spent nights developping it) Edited December 14, 2007 by mrbond007 Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
Nahuel Posted December 14, 2007 Share Posted December 14, 2007 Haha, well let me tell you I fricking love it! Seriously! I can't stop playing! I love these games and they are very well made, 5 stars for you. Maybe a suggestion. Add a simpler way of exiting the games, like ESC. Just a thought, since not everyone knows how to close a window with the keyboard. I couldn't help noticing that you use this to run the games: Run(@AutoItExe & " /AutoIt3ExecuteScript " & _ FileGetShortName(@ScriptDir & "\Games\" & $Names[121]) This takes away any chance of compiling the game and sharing it. Link to comment Share on other sites More sharing options...
mrbond007 Posted December 14, 2007 Author Share Posted December 14, 2007 (edited) Haha, well let me tell you I fricking love it! Seriously! I can't stop playing! I love these games and they are very well made, 5 stars for you. Maybe a suggestion. Add a simpler way of exiting the games, like ESC. Just a thought, since not everyone knows how to close a window with the keyboard. I couldn't help noticing that you use this to run the games: Run(@AutoItExe & " /AutoIt3ExecuteScript " & _ FileGetShortName(@ScriptDir & "\Games\" & $Names[121]) This takes away any chance of compiling the game and sharing it.think about it. All games are seperated because if you put them into one file, the file will be around 800kb so it may not run correctly on all computers (memory errors) Edited December 14, 2007 by mrbond007 Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
Nahuel Posted December 14, 2007 Share Posted December 14, 2007 Compile them all Haha, shouldn't be hard if you make a script to do it. Link to comment Share on other sites More sharing options...
Valuater Posted December 14, 2007 Share Posted December 14, 2007 Love it!!!Clicked 5 Stars for youmaybe.. just addHotKeySet("{ESC}", "Close")Thanks for sharing8)... and I thought I was Obsessive!!! Link to comment Share on other sites More sharing options...
Toady Posted December 14, 2007 Share Posted December 14, 2007 Wow, this is a really nice application. I like the animation's used with navigating from place to place. The interface is very easy to use. There are so many games, I will have fun playing this at work. 5 stars! www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
Valuater Posted December 14, 2007 Share Posted December 14, 2007 might want to look at a little effieciency... change these three areas Global $Waray[6] $Waray[0] = GUICtrlCreateLabel("Quick Thinking", 15, 10, 480, 30) $Waray[1] = GUICtrlCreateLabel("Count And Calculate", 15, 65, 480, 30) $Waray[2] = GUICtrlCreateLabel("Super Memory", 15, 120, 480, 30) $Waray[3] = GUICtrlCreateLabel("Speed Analyzing", 15, 175, 480, 30) $Waray[4] = GUICtrlCreateLabel("Identify", 15, 230, 480, 30) $Waray[5] = GUICtrlCreateLabel("Brain Age Test", 15, 285, 480, 30) For $i = 0 To UBound($Waray)-1 GUICtrlSetBkColor($Waray[$i], 0xFFBF00) GUICtrlSetColor($Waray[$i], 0xFFFFFF) GUICtrlSetFont($Waray[$i], 20, -1, 2) GUICtrlSetCursor($Waray[$i], 0) GUICtrlSetOnEvent($Waray[$i], "ShowGames") Next ; and .. Func ShowGames() SoundPlay($SPath & "S1.wav") ExitG($ChildG) For $i = 0 To UBound($Waray)-1 GUICtrlSetState($Waray[$i], $GUI_HIDE) If @GUI_CtrlHandle = ControlGetHandle($ChildG, "", $Waray[$i]) Then $RHandle = Eval("Ctrl" & ($i + 1)) Next For $i = 0 To UBound($RHandle)-1 GUICtrlSetState($RHandle[$i], $GUI_SHOW) Next EnterG($ChildG) EndFunc I am sure you will know what they are and if you like.. where they go 8) Link to comment Share on other sites More sharing options...
Valuater Posted December 14, 2007 Share Posted December 14, 2007 (edited) ... another idea... There are 120 controls in $Ctrls, Maybe after the right control is found and you called the execution, ... just exit the loop Func PlayTime() For $i = 0 To UBound($Ctrls)-1 If @GUI_CtrlHandle = ControlGetHandle($ChildG, "", $Ctrls[$i]) Then Run(@AutoItExe & " /AutoIt3ExecuteScript " & _ FileGetShortName(@ScriptDir & "\Games\" & $Names[$i])) ExitLoop ; HERE*** EndIf Next and anywhere else you might note 8) NOTED : Alpha24 is an "H" not an "X" like it should be.. Edited December 14, 2007 by Valuater Link to comment Share on other sites More sharing options...
Gif Posted December 14, 2007 Share Posted December 14, 2007 (edited) Nice. Maybe you should add some menus like, when i enter a game im forced to use methods to force it to end (terminate). And what if i want to go back to the menu to choose games again? Edited December 14, 2007 by Gif Link to comment Share on other sites More sharing options...
GtaSpider Posted December 15, 2007 Share Posted December 15, 2007 hello Anwesome, very nice! But i miss a exit button/Close on ESC. Yes, i know it works with ALT+F4 but i close my autoit guis allways with ESC Only delte Line 60 - Opt("GUICloseOnESC", 0) 5/5 Points! Mfg / Best Regards Spider www.AutoIt.de - Moderator of the German AutoIt Forum Link to comment Share on other sites More sharing options...
JustinReno Posted December 15, 2007 Share Posted December 15, 2007 Only delte Line 60 - Opt("GUICloseOnESC", 0)Don't delete it, just change the 0 to 1 and see if ESC works.Overall, I'm extremely impressed, this is a very nice application. Good Job! Link to comment Share on other sites More sharing options...
mrbond007 Posted December 15, 2007 Author Share Posted December 15, 2007 (edited) might want to look at a little effieciency... change these three areas Global $Waray[6] $Waray[0] = GUICtrlCreateLabel("Quick Thinking", 15, 10, 480, 30) $Waray[1] = GUICtrlCreateLabel("Count And Calculate", 15, 65, 480, 30) $Waray[2] = GUICtrlCreateLabel("Super Memory", 15, 120, 480, 30) $Waray[3] = GUICtrlCreateLabel("Speed Analyzing", 15, 175, 480, 30) $Waray[4] = GUICtrlCreateLabel("Identify", 15, 230, 480, 30) $Waray[5] = GUICtrlCreateLabel("Brain Age Test", 15, 285, 480, 30) For $i = 0 To UBound($Waray)-1 GUICtrlSetBkColor($Waray[$i], 0xFFBF00) GUICtrlSetColor($Waray[$i], 0xFFFFFF) GUICtrlSetFont($Waray[$i], 20, -1, 2) GUICtrlSetCursor($Waray[$i], 0) GUICtrlSetOnEvent($Waray[$i], "ShowGames") Next ; and .. Func ShowGames() SoundPlay($SPath & "S1.wav") ExitG($ChildG) For $i = 0 To UBound($Waray)-1 GUICtrlSetState($Waray[$i], $GUI_HIDE) If @GUI_CtrlHandle = ControlGetHandle($ChildG, "", $Waray[$i]) Then $RHandle = Eval("Ctrl" & ($i + 1)) Next For $i = 0 To UBound($RHandle)-1 GUICtrlSetState($RHandle[$i], $GUI_SHOW) Next EnterG($ChildG) EndFunc I am sure you will know what they are and if you like.. where they go 8)I'll improve it later since i'm currently recovering, can't work on it today otherwise i'm might get sick NOTED : Alpha24 is an "H" not an "X" like it should be.. looks like an "H" but if you look carefully it's an "X" @All game updated : added an exit button + minor fixes Edited December 15, 2007 by mrbond007 Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
mrbond007 Posted December 15, 2007 Author Share Posted December 15, 2007 Nice. Maybe you should add some menus like, when i enter a game im forced to use methods to force it to end (terminate). And what if i want to go back to the menu to choose games again?adding menus is alot of pain, i'll be forced to rebuild everything, i just had to seperate all games into seperate files. when you choose a game to play either wait for it to finish or terminate it with Alt+F4 to get back to the previous script (where you can choose the games) Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight Link to comment Share on other sites More sharing options...
BrettF Posted December 15, 2007 Share Posted December 15, 2007 Nice job Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
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