Yam dice game [ahk file]: Download
YAM: Yet Another Mindlessly-addicting-dice-game.
Sort of a Yahtzee clone with a twist, a little more strategy.
Reproduced from YAM [freeware] for the Palm Pilot.
GAME: YAM dice game
Started by
d-man
, Sep 04 2006 09:03 AM
9 replies to this topic
#1
-
Posted 04 September 2006 - 09:03 AM
I did any a very fast run (will try more later), got a full house of 4's with the first three rolls... :-)
Very nice and clean interface, smart use of text to make the dots of the die.
I would have put all the help text in a continuation section, easier to maintain, no `n to type (or read...).
Small typo in this help: wiht (also "up to 4 dice", "that die")
Slightly confusing wording: "You may then select up to 4 dice to reroll by clicking on them" (we have to click on the die to keep, as the useful label shows). The "from the top down" seems strange, I would have written "from the top" or "in the top down order" -- but I am not native speaker, so I can be wrong.
Oh, perhaps I would split the help in smaller sections, to stitch together in the help message, but to use parts in tooltips when hovering a label (ie. what is Max points?).
Thanks for sharing.
[EDIT]
Very nice and clean interface, smart use of text to make the dots of the die.
I would have put all the help text in a continuation section, easier to maintain, no `n to type (or read...).
Small typo in this help: wiht (also "up to 4 dice", "that die")
Slightly confusing wording: "You may then select up to 4 dice to reroll by clicking on them" (we have to click on the die to keep, as the useful label shows). The "from the top down" seems strange, I would have written "from the top" or "in the top down order" -- but I am not native speaker, so I can be wrong.
Oh, perhaps I would split the help in smaller sections, to stitch together in the help message, but to use parts in tooltips when hovering a label (ie. what is Max points?).
Thanks for sharing.
[EDIT]
Convertnum(num) { If (StrLen(num) = 1) Return "0" . num Return num }:-)
#2
-
Posted 04 September 2006 - 10:33 AM
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
heheh, thanks, Philho, yeah I got in a hurry to finish it at the end. Not entirely optimized, either. Good feedback on the help, I will change that! Thank you for your input!
My brother really likes this game, he plays it all the time. See if you can beat his high score of 1425!
My brother really likes this game, he plays it all the time. See if you can beat his high score of 1425!
#3
-
Posted 04 September 2006 - 03:36 PM
I had some fun and added a tray icon also.
I think you should make it harder. Yes it is very fun but very easy. Try making more random combinations.
I think you should make it harder. Yes it is very fun but very easy. Try making more random combinations.
#4
-
Posted 04 September 2006 - 04:29 PM
I had some fun and added a tray icon also.
I think you should make it harder. Yes it is very fun but very easy. Try making more random combinations.
Feel free to enhance it any way you want, and put a version up here so I can try it out too.
#5
-
Posted 04 September 2006 - 05:06 PM
I am still very new to this so I will try my best and see what I can do.
What part do I edit if i want to edit the number combonations?
What part do I edit if i want to edit the number combonations?
#6
-
Posted 04 September 2006 - 05:25 PM
tiny update — added philho's suggestions & fixed small bug that wouldn't take a Yam as a 4 of a kind.
#7
-
Posted 06 September 2006 - 04:59 AM
Very minor thing that is more being anal retentive...
I tend to keep all my scripts in the same folder for easy reference. It is hard to keep track of files and their associated *.ini if the name is not the same or at least similar (or at least starts with the same thing).
Thus, I would suggest editing the game to replace all references of hiscore.ini to be either YamHiscore.ini or just Yam.ini.
Thats just me.
I tend to keep all my scripts in the same folder for easy reference. It is hard to keep track of files and their associated *.ini if the name is not the same or at least similar (or at least starts with the same thing).
Thus, I would suggest editing the game to replace all references of hiscore.ini to be either YamHiscore.ini or just Yam.ini.
Thats just me.
#8
-
Posted 08 September 2006 - 06:26 PM
SilverEdge78
I have since decided that I wanted the game to remember the former position because I usually play this while waiting for other things. As such, I move it to the side to play. But when I would hit File..New, it would reload back in the middle. Thus, I have revised it as noted below.
I also adjusted the script to create a ini file based on actual script name rather than hardcode in Yam.ini, etc. I also adjusted the structure of the ini file for readability, and to store the previous gui position.
Yam.ahk
Version 1.1, 11/18/06
- Added ScriptIni variable in case of a script name change
- Redid the Ini structure
- Added saving of last position upon exit or new game
- Added loading using saved last position coordinates
- Fixed it so when a new game is started it does not show the high score window.
I also adjusted the script to create a ini file based on actual script name rather than hardcode in Yam.ini, etc. I also adjusted the structure of the ini file for readability, and to store the previous gui position.
Yam.ahk
Version 1.1, 11/18/06
- Added ScriptIni variable in case of a script name change
- Redid the Ini structure
- Added saving of last position upon exit or new game
- Added loading using saved last position coordinates
- Fixed it so when a new game is started it does not show the high score window.
#9
-
Posted 18 November 2006 - 11:23 PM
SilverEdge78
Couple minor improvements in addition to the previously noted ones. My updated version can be downloaded at the link in the above post.
Version 1.1.2, 01/29/07
- Changed it so that any reload writes the current position and
reloads the game at that position
Version 1.1.1, 01/23/07
- Changed Game Over dialog box to allow for starting a new game
Version 1.1.2, 01/29/07
- Changed it so that any reload writes the current position and
reloads the game at that position
Version 1.1.1, 01/23/07
- Changed Game Over dialog box to allow for starting a new game
#10
-
Posted 01 February 2007 - 10:25 PM
SilverEdge78