topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 9:03 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Need beta testers for a Hangman game  (Read 7364 times)

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Need beta testers for a Hangman game
« on: May 17, 2011, 03:56 PM »
I'm looking for one, possibly two, beta-testers for a Hangman game I've written.  

Here is the kind of feedback I'm looking for:

(a) "When I click on button X, I see this funky error message" (provides text and, even better, a screenshot)
(b) "I don't really understand what menu item Y is for" (I need to either make it more intuitive, or explain it carefully in Help)


And here is the kind of feedback I'm not looking for:

(c) "you should've used [insert Dev name]'s xyz- dll; it would've made this game rock!"
(d) "I don't like the background color; have you considered offering skins?"

hangman.png

Once I have a firm volunteer or two, I'll provide the installer.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #1 on: May 17, 2011, 04:24 PM »

I'll give it a go if you likeā€¦ I'm remarkably good at doing things wrong  :)

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #2 on: May 17, 2011, 05:12 PM »
Thanks, sent you a PM.

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #3 on: May 18, 2011, 08:35 PM »
cranioscopical has been a great help thus far as a beta-tester, but he and I are mutually agreed that another tester or two wouldn't be a bad idea, to widen the "user-sample"; is there anyone else who might be able to step-up?  You're talking maybe a 10-15 minute time commitment, once or twice weekly, until we're all satisfied.

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #4 on: May 18, 2011, 08:45 PM »
Heh, why not, I enjoy a game of hangman, if you need another tester, gimme a shout :)

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #5 on: May 18, 2011, 09:20 PM »
Ok, great!  I'll PM you in a few minutes, Stephen.

KynloStephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,741
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #6 on: May 18, 2011, 09:26 PM »
okie doke :)

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #7 on: May 28, 2011, 09:22 PM »
Been workin' on the PHP component of my "Hangman" game desktop application.  Coming along nicely.  Bear in mind, this is my VERY FIRST attempt at PHP dev.  I didn't know any PHP code a week ago...

Here are some sample screenshots.  The desktop application will, with permission, update an online MySQL database as your High Score improves, allowing everyone to compete to climb the High Score ladder, which will be viewable on a web page.  No actual passwords are stored in the database.  Rather, a salted hash of the user-supplied password is stored.  The PHP code then salts a password attempt and compares against the stored hash to determine if the update request is "legitimate".

Here's an example of the URL:

Code: Text [Select]
  1. http://localhost/myScripts/hang_update.php?name=user2&highscore=18003&pw=bddkdd5ddcddldd%60ddqddqdd:dd&guid=83a1340f-91f9-4e08-a717-4151b00916c1&[email protected]

The desktop app transforms the actual password, lengthening it, transposing, ascii-shifting, etc.  Bear in mind, this isn't a security-critical app, and this is my first attempt.

bad_password.png



registration_form.png



successful_registration.png



successful_update.png



unsuccessful_update.png
« Last Edit: May 28, 2011, 09:34 PM by kyrathaba »

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #8 on: June 09, 2011, 06:53 PM »
Okay, after almost another two weeks of reading/testing scripts, I think I'm ready for someone to help me beta-test the "Kyrathaba's Hangman" program in conjunction with the associated online PHP scripts.  So far, cranioscopical has given invaluable assistance and suggestions.

My primary aim in this phase of beta-testing is to (a) ensure that I've not broken anything in the desktop app while adding features and integrating it with the online database, and to (b) ensure that the online scripts work well in interfacing the program with the database.  I would like beta-tester(s) to (c) start from the initial dialog with which they're presented.  Answer "Yes" and go from there, all the way through registering a user-name, playing a game, exiting the app, and seeing if the app posted their high score to the database:

small_screenshot.png

Contact me by DC PM or by replying on this thread, please.

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #9 on: June 11, 2011, 06:34 PM »
Have what I think should be an easily-fixed issue with my installer: at the end of the install process, the installer gives the user the option to run the program.  It's supposed to launch the newly installed app, then exit the installer, but here's what's happening...

setupStillRunning.png

Could someone with experience in Inno Setup scripting check out the following setup script and see if you can spot what I've done (or failed to do) that's causing the installer not to exit after the user checks the "Launch Hangman" checkbox and then clicks the installer's Finish button?

Code: PHP [Select]
  1. [_ISTool]
  2. EnableISX=true
  3.  
  4. [InstallDelete]
  5. Type: filesandordirs; Name: "{pf}\Kyrathasoft\KyrHangman"
  6.  
  7. [Setup]
  8. AppMutex=KyrathabaHangmanMutexNameStringOfUniqueComposition
  9. AppName=Kyrathaba's Hangman
  10. SetupIconFile=src\KyrHangman\KyrHangman1023src\hangmanIcon.ico
  11. AppPublisherURL=http://kyrathaba.dcmembers.com
  12. AppVerName=v1.0.2.3
  13. AppCopyright=Copyright (C) Kyrathasoft.
  14. VersionInfoCompany=Kyrathasoft
  15. Uninstallable=yes
  16. CreateUninstallRegKey=yes
  17. UpdateUninstallLogAppName=yes
  18. UninstallDisplayName=Kyrathaba's Hangman
  19. UsePreviousAppDir=yes
  20. AppID={{83a1340f-91f9-4e08-a717-4151b00916c1}
  21. MinVersion=4.1,4.0
  22. AllowCancelDuringInstall=yes
  23. DefaultDirName={pf}\Kyrathasoft\KyrHangman
  24. AppendDefaultDirName=yes
  25. DefaultGroupName=Kyrathasoft\KyrHangman
  26. UninstallDisplayIcon={app}\UninstallHangman.exe
  27. Compression=lzma
  28. SolidCompression=true
  29. OutputBaseFilename=KyrHangman\KyrHangman1023output\KyrHangman1023Setup
  30. BackColorDirection=toptobottom
  31.  
  32. [Files]
  33. Source: scripts\isxdl\isxdl.dll; Flags: dontcopy
  34. Source: src\KyrHangman\KyrHangman1023src\KyrHangman.exe; DestDir: {app}
  35. Source: src\KyrHangman\KyrHangman1023src\aboutHangman.txt; DestDir: {app}
  36. Source: src\KyrHangman\KyrHangman1023src\defaultPuzzles.txt; DestDir: {app}
  37. Source: src\KyrHangman\KyrHangman1023src\kyr.dll; DestDir: {app}
  38. Source: src\KyrHangman\KyrHangman1023src\hangmanIcon.ico; DestDir: {app}
  39. Source: src\KyrHangman\KyrHangman1023src\houseTrans.ico; DestDir: {app}
  40. Source: src\KyrHangman\KyrHangman1023src\KyrHangmanLib.dll; DestDir: {app}
  41. Source: src\KyrHangman\KyrHangman1023src\website.url; DestDir: "{app}"
  42. Source: src\KyrHangman\KyrHangman1023src\README.TXT; DestDir: {app}
  43.  
  44. [Messages]
  45. WinVersionTooLowError=This application requires Windows NT4, Windows 98 or later.
  46. BeveledLabel=Kyrathasoft
  47.  
  48. [Icons]
  49. Name: {group}\Kyrathaba's Hangman; Filename: {app}\KyrHangman.exe; IconFilename: {app}\hangmanIcon.ico;
  50. Name: {group}\Uninstall Kyrathaba's Hangman; Filename: {uninstallexe}
  51. Name: {userdesktop}\Kyrathaba's Hangman; Filename: {app}\KyrHangman.exe; IconFilename: {app}\hangmanIcon.ico; Tasks: desktopicon
  52. Name: "{group}\Visit My Web Site"; Filename: "{app}\website.url"; IconFilename: {app}\houseTrans.ico;
  53.  
  54. [Tasks]
  55. Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
  56.  
  57. [Run]
  58. Filename: "{app}\README.TXT"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent
  59. Filename: "{app}\KyrHangman.exe"; Flags: postinstall
  60.  
  61. {Code} //changed brackets to braces for this posting only, so that the PHP code tags work properly
  62. var
  63.  dotnetRedistPath: string;
  64.  downloadNeeded: boolean;
  65.  dotNetNeeded: boolean;
  66.  memoDependenciesNeeded: string;
  67.  
  68. procedure isxdl_AddFile(URL, Filename: PChar);
  69. external 'isxdl_AddFile@files:isxdl.dll stdcall';
  70. function isxdl_DownloadFiles(hWnd: Integer): Integer;
  71. external 'isxdl_DownloadFiles@files:isxdl.dll stdcall';
  72. function isxdl_SetOption(Option, Value: PChar): Integer;
  73. external 'isxdl_SetOption@files:isxdl.dll stdcall';
  74.  
  75.  
  76. const
  77.  dotnetRedistURL = 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe';
  78.   //dotnetRedistURL = 'http://download.microsoft.com/download/a/a/c/aac39226-8825-44ce-90e3-bf8203e74006/dotnetfx.exe'; //for v1 of framework
  79.   // local system for testing...       
  80.   // dotnetRedistURL = 'http://192.168.1.1/dotnetfx.exe';
  81.  
  82. function InitializeSetup(): Boolean;
  83.  
  84. begin
  85.   Result := true;
  86.   dotNetNeeded := false;
  87.  
  88.   // Check for required netfx installation
  89.   if (not RegKeyExists(HKLM, 'Software\Microsoft\NET Framework Setup\NDP\v4\Client')) then begin
  90.     dotNetNeeded := true;
  91.     if (not IsAdminLoggedOn()) then begin
  92.       MsgBox('This application needs the Microsoft .NET Framework to be installed by an Administrator', mbInformation, MB_OK);
  93.       Result := false;
  94.     end else begin
  95.       memoDependenciesNeeded := memoDependenciesNeeded + '      .NET Framework' #13;
  96.      dotnetRedistPath := ExpandConstant('{src}\dotnetfx.exe');
  97.       if not FileExists(dotnetRedistPath) then begin
  98.         dotnetRedistPath := ExpandConstant('{tmp}\dotnetfx.exe');
  99.         if not FileExists(dotnetRedistPath) then begin
  100.           isxdl_AddFile(dotnetRedistURL, dotnetRedistPath);
  101.           downloadNeeded := true;
  102.         end;
  103.       end;
  104.       SetIniString('install', 'dotnetRedist', dotnetRedistPath, ExpandConstant('{tmp}\dep.ini'));
  105.     end;
  106.   end;
  107.  
  108.  
  109. function NextButtonClick(CurPage: Integer): Boolean;
  110. var
  111.   hWnd: Integer;
  112.   ResultCode: Integer;
  113.  
  114. begin
  115.   Result := true;
  116.  
  117.   if CurPage = wpReady then begin
  118.  
  119.     hWnd := StrToInt(ExpandConstant('{wizardhwnd}'));
  120.  
  121.     // don't try to init isxdl if it's not needed because it will error on < ie 3
  122.     if downloadNeeded then begin
  123.  
  124.       isxdl_SetOption('label', 'Downloading Microsoft .NET Framework');
  125.       isxdl_SetOption('description', 'MyApp needs to install the Microsoft .NET Framework. Please wait while Setup is downloading extra files to your computer.');
  126.       if isxdl_DownloadFiles(hWnd) = 0 then Result := false;
  127.     end;
  128.     if (Result = true) and (dotNetNeeded = true) then begin
  129.       if Exec(ExpandConstant(dotnetRedistPath), '', '', SW_SHOW, ewWaitUntilTerminated, ResultCode) then begin
  130.          // handle success if necessary; ResultCode contains the exit code
  131.          if not (ResultCode = 0) then begin
  132.            Result := false;
  133.          end;
  134.       end else begin
  135.          // handle failure if necessary; ResultCode contains the error code
  136.          Result := false;
  137.       end;
  138.     end;
  139.   end;
  140.  
  141. function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
  142. var
  143.   s: string;
  144.  
  145. begin
  146.   if memoDependenciesNeeded <> '' then s := s + 'Dependencies to install:' + NewLine + memoDependenciesNeeded + NewLine;
  147.   s := s + MemoDirInfo + NewLine + NewLine;
  148.  
  149.   Result := s
« Last Edit: June 11, 2011, 07:27 PM by kyrathaba »

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,612
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #10 on: June 12, 2011, 04:22 AM »
Could someone with experience in Inno Setup scripting check out the following setup script and see if you can spot what I've done (or failed to do) that's causing the installer not to exit after the user checks the "Launch Hangman" checkbox and then clicks the installer's Finish button?

Code: PHP [Select]
  1. [Run]
  2. Filename: "{app}\README.TXT"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent
  3. Filename: "{app}\KyrHangman.exe"; Flags: postinstall

It's as simple as adding nowait to the ]Run] line of your script:
Code: PHP [Select]
  1. [Run]
  2. Filename: "{app}\KyrHangman.exe"; Flags: postinstall nowait

kyrathaba

  • N.A.N.Y. Organizer
  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 3,200
    • View Profile
    • Donate to Member
Re: Need beta testers for a Hangman game
« Reply #11 on: June 12, 2011, 08:19 AM »
Thanks, Ath!!