Computing: Free Pascal Programming

Yahtzee game for 1 - 3 players.

Download Yahtzee desktop application (Windows 64bit) Download Yahtzee source code (Lazarus/Free Pascal)

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 and 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.


Multiple-players Yahtzee dice game