in the context of the current state of the game and the desired outcome (i.e. winning the game). The game will have rules that determine how players can increase, spend, or exchange their various resources. The skillful management of resources under such rules allows players to influence the outcome of the game. Risk and reward Some games include situations where players can "press their luck" in optional actions where the danger of a risk must be weighed against the chance of reward. For example, in Beowulf: The Legend, players may elect to take a "Risk", with success yielding cards and failure weakening the player's ultimate chance of victory. Role-playing Role-playing games often rely on mechanics that determine the effectiveness of in-game actions by how well the player acts out the role of a fictional character. While early role-playing games such as Dungeons & Dragons relied heavily on either group consensus or the judgement of a single player (deemed the Dungeon Master or Game Master) or on randomizers such as dice, later generations of narrativist games use more structured and integrated systems to allow role-playing to influence the creative input and output of the players, so both acting out roles and employing rules take part in shaping the gameplay. Tile-laying Many games use tiles - flat, rigid pieces of a regular shape - that can be laid down on a flat surface to form a tessellation. Usually, such tiles have patterns or symbols on their surfaces, that combine when tessellated to form game-mechanically significant combinations. The tiles themselves are often drawn at random by the players, either immediately before placing them on the playing surface, or in groups to form a pool or hand of tiles from which the player may select one to play. Tiles can be used in two distinct ways: The playing of a tile itself is directly significant to the outcome of the game, in that where and when it is played contributes points or resources to the player. Tiles are used to build a board upon which other game tokens are placed, and the interaction of those tokens with the tiles provides game points or resources. Examples of tile mechanics include: Scrabble, in which tiles are letters and players lay them down to form words and score points; and Tikal, in which players lay tiles representing newly explored areas of jungle, through which archaeologists (represented by