Page 1 of 1

YahtzeeZ v1.1

Posted: Mon 03 Apr 2017, 19:58
by SFR
This is my implementation of the classic Yahtzee game.
The general look of the GUI (as well as "Sequence of 3/4" instead of "Small/Large Straight" naming convention) was inspired by OpenYahtzee.

However, note that I didn't implement Yahtzee Joker - there are slightly different variants of this rule out there and I couldn't decide which one's the best, but mainly because I don't really like how it restricts the player.
There's still Yahtzee Bonus, though...

Therefore, you can freely put any subsequent Yahtzee wherever you like and score appropriately (btw, I consider e.g. 33333 to be a valid Full House) + if you have already scored Yahtzee, you'll get 100pts Bonus.
I think it's simpler and clearer this way.
___________

Requirements: Bash, Gtkdialog >= 0.8.3
___________

Changelog

Version 1.1:
  • added "Undo" option (thanks to peebee)
  • added score hints
Version 1.0:
  • initial release
___________

Have fun &
Greetings!

Posted: Mon 03 Apr 2017, 22:54
by slavvo67
SFR:

More fine work. Thanks. Funny, I initially didn't realize that you just click on the button to the left of the total. Here I am trying to punch in the numbers like a bobo. LOL

Anyway, I got it and works fine in Quirky Xerus64 / RU Xerus64.

Thanks,

Slavvo67

Posted: Mon 03 Apr 2017, 23:17
by spiritwild
Kewlness!!!

Posted: Sat 08 Apr 2017, 11:23
by peebee
Nice little fun app very much in the Puppy "tradition" - many thanks

A useful addition for when you click the wrong category in error would be an undo button - or if that's too difficult maybe a confirmation request before registering the score if the score is 0?

Cheers
peebee

Posted: Sat 08 Apr 2017, 12:41
by SFR
@Peebee: Yeah, the current code design isn't really undo-friendly indeed, but I'll look at it in a spare moment.

@Slavvo67 & Spiritwild & Peebee: Thanks guys!

Greetings!

Posted: Sat 08 Apr 2017, 13:55
by slavvo67
Hi SFR:

Just a quick note: When you score high enough, the program says it saves your score to a high score list. Unfortunately, the score does not register there.

Not a big deal; just a note.

Best,

Slavvo67

Posted: Sat 08 Apr 2017, 14:20
by SFR
slavvo67 wrote:Hi SFR:

Just a quick note: When you score high enough, the program says it saves your score to a high score list. Unfortunately, the score does not register there.

Not a big deal; just a note.

Best,

Slavvo67
You can save your score after each game and it should be preserved (provided that you cliked the "Save" button or just hit Enter).
Do you have $HOME/.yahtzeez.hi file?
What are its contents, is it empty?
Any error messages if you run YahtzeeZ from CLI and try to save your score?

Greetings!

Posted: Mon 10 Apr 2017, 10:43
by SFR
Version 1.1:
  • added "Undo" option (thanks to peebee)
  • added score hints
First post updated.

Greetings!