Dice (: die or dice) are small, throwable objects with marked sides that can rest in multiple positions. They are used for generating random values, commonly as part of tabletop games, including dice games, board games, role-playing games, and games of chance.
A traditional die is a cube with each of its six faces marked with a different number of dots (pips) from one to six. When thrown or rolled, the die comes to rest showing a random integer from one to six on its upper surface, with each value being equally likely. Dice may also have polyhedral or irregular shapes, may have faces marked with numerals or symbols instead of pips and may have their numbers carved out from the material of the dice instead of marked on it. Loaded dice are designed to favor some results over others for cheating or entertainment.
Dice have been used since before recorded history, and it is uncertain where they originated. It is theorized that dice developed from the practice of fortune-telling with the talus of hoofed animals, colloquially known as knucklebones. The Egyptian game of senet (played before 3000 BCE and up to the 2nd century CE) was played with flat two-sided throwsticks which indicated the number of squares a player could move, and thus functioned as a form of dice. Perhaps the oldest known dice were excavated as part of a backgammon-like game set at the Burnt City, an archeological site in south-eastern Iran, estimated to be from between 2800 and 2500 BCE. Bone dice from Skara Brae, Scotland have been dated to 3100–2400 BCE. Excavations from graves at Mohenjo-daro, an Indus Valley civilization settlement, unearthed terracotta dice dating to 2500–1900 BCE, including at least one die whose opposite sides all add up to seven, as in modern dice.
Games involving dice are mentioned in the ancient Indian Rigveda, Atharvaveda, Mahabharata and Buddhist games list. There are several biblical references to "casting lots" (יפילו גורל yappîlū ḡōrāl), as in Psalm 22, indicating that dicing (or a related activity) was commonplace when the psalm was composed.