Computing: Free Pascal Programming

Programming Home   Home   Contact

Yahtzee game for 1 - 3 players (Yahtzee).


Description: Classic Yahtzee game for 1 - 3 players. As it is a dice game, luck is required, but also the consideration of probability and strategy. The application is a desktop version of the classic game, made in the middle of the last century, played with the classic rules, except that the alternate, simplified "free choice" rule is used for the Yahtzee Joker. The advantage of a computer version: All scoring and bonus calculation are done by the program.
The new version 1.1 gives the possibility to choose between the application rolling the dices for you and the usage of real dices (and then entering the dice values); this latter option may be supplementary fun for children, especially in multi-player mode.
The application includes a link to the Yahtzee page of Wikipedia (where the game and all rules are explained in detail), a table with a short description of the Upper und Lower section categories and their scoring, as well as a help text on how to use the application.

Change log:
Version 1.0 (March 2020): Original program
Version 1.1 (December 2020):
    - adding choice between dices rolled by program or user entry of real dice rolling values

Free Pascal features: Loading images from files as needed. Showing and hiding, enabling and disabling controls. String grids. Using the OpenDocument method of the LCLIntf unit to start the default browser pointed to a given website. (Very) simple dice rolling simulation.

Screenshot:

Multiple-players Yahtzee dice game