Author |
Message |
SFR

Joined: 26 Oct 2011 Posts: 1704
|
Posted: Mon 03 Apr 2017, 15:58 Post subject:
YahtzeeZ v1.1 Subject description: Yahtzee game, written in Bash and Gtkdialog |
|
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:
___________
Have fun &
Greetings!
 |
Description |
MD5: 032225e9f5e9f1a5b279c70fcd07bad7 yahtzeez-1.1.pet
|

Download |
Filename |
yahtzeez-1.1.pet |
Filesize |
6.94 KB |
Downloaded |
182 Time(s) |
Description |
|
Filesize |
30.99 KB |
Viewed |
462 Time(s) |

|
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Last edited by SFR on Mon 10 Apr 2017, 06:42; edited 1 time in total
|
Back to top
|
|
 |
slavvo67
Joined: 12 Oct 2012 Posts: 1593 Location: The other Mr. 305
|
Posted: Mon 03 Apr 2017, 18:54 Post subject:
|
|
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
|
Back to top
|
|
 |
spiritwild

Joined: 03 Oct 2016 Posts: 161
|
Posted: Mon 03 Apr 2017, 19:17 Post subject:
|
|
Kewlness!!!
|
Back to top
|
|
 |
peebee

Joined: 21 Sep 2008 Posts: 3678 Location: Worcestershire, UK
|
Posted: Sat 08 Apr 2017, 07:23 Post subject:
|
|
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
_________________
LxPup = Puppy + LXDE
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1704
|
Posted: Sat 08 Apr 2017, 08:41 Post subject:
|
|
@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!
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
|
Back to top
|
|
 |
slavvo67
Joined: 12 Oct 2012 Posts: 1593 Location: The other Mr. 305
|
Posted: Sat 08 Apr 2017, 09:55 Post subject:
|
|
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
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1704
|
Posted: Sat 08 Apr 2017, 10:20 Post subject:
|
|
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!
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 1704
|
Posted: Mon 10 Apr 2017, 06:43 Post subject:
|
|
Version 1.1:
- added "Undo" option (thanks to peebee)
- added score hints
First post updated.
Greetings!
_________________ [O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
|
Back to top
|
|
 |
|