Like Arik says the PAL22V10 is a logic IC, which you have to program like an EEPROM. You'll have to write a program which represents the internal logic in some awkward HDL (Hardware Description Language), which you then program into the device using a hardware programmer. You don't want to do all that.
If you were attracted by the simplicity of the schematic you may look out for a microcontroller solution. The PAL22V10 is an old beast, and not so user-friendly, but today's microcontrollers are very easy to write a program for and to get that program into the device.
Example project.
If you want to try it without microcontroller, but with commonly available components, then there's this electronic die project.