Heres their program's header file
/**
* StopDice.h
* Defines constants used for StopDice program logic and graphics
*
* NOTE that string constants are NOT declared constants in order
* to conform to the requirements of WinBGIm functions that do
* not define constant string parameters when they should. This will
* be fixed when WinBGIm is itself fixed.
*
* @author . . .
* @version 1.0 May 2008
*/
/*------------- Program Constants ------------------*/
char GAME_NAME[] = "Stop the Dice";
char GAME_CLAIM[] = "- Extreme Challenge!";
char GAME_INTRO1[] = "* Stop with 2 dice showing the same value => Score 1 point";
char GAME_INTRO2[] = "* Stop with 3 dice of the same value => Bingo! add 1 and multiply by value";
char GAME_INTRO3[] = "Press the [Space bar] to start or stop";
const int DELAY = 160;/* milliseconds between dice rolls */
const int NUM_DICE = 3; /* number of dice displayed */
const int NUM_IMAGES = 6; /* number of different dice images */
/*------------- Graphics Constants -----------------*/
const int IMAGE_SIDE = 142; /* pixel length of a die side */
const int WINDOW_WIDTH = 4 * IMAGE_SIDE;
const int WINDOW_HEIGHT = 2 * IMAGE_SIDE;
const int IMAGE_TOP = IMAGE_SIDE / 3;
const int IMAGE_BOTTOM = IMAGE_TOP + IMAGE_SIDE;
const int BK_COLOR = WHITE; /* Screen background colour */
and the program's source code
/**
* StopDice.c
* Implements the "immortal" StopDice game
*
* @author . . .
* @version 1.0 - May …