Wap for intelligent agent able to play block dominoes game, Programming Languages


In a programming language of your choice, write an intelligent agent able to play block Dominoes against a player. Together with this assignment you will find two papers that will give you a very clear understanding of the game and how to use AI techniques to play it.

Block Dominoes Rules (Two Players)

Number Of Players: 2 (Computer (Agent) VS. Player)

Domino Set Required: Uses a double-six set.


After shuffling the dominoes, each player draws 7 tiles to make up their hand. The remainder of the tiles in the boneyard is used for drawing.

Game play:

The player with the highest double places the first domino. Play proceeds to the left (clockwise). Each player adds a domino to an open end of the layout, if he can. For instance, the game is well in progress, and the "blank" and "1" are the open ends. Note that the layout may flow in any direction, turning as necessary. Note also that dominoes having the same number (e.g., 6-6, 1-1, etc.) are placed in the customary crossways orientation, though you may just as properly place it in an inline orientation. A player that cannot make a move must draw tiles from the bone yard until either he gets a valid tile for an open end of the layout or the bone yard is empty. The game ends when one player uses the last domino in his hand, or when no more plays can be made. If both players still have tiles in their hand, but can more no moves can be made, then the game is said to be "blocked", and the player with the lightest hand (i.e. the number of dots on their dominoes) wins.


The evaluation process for this assignment will proceed according to the following steps:

1) Emulation (We will provide a real Block Dominoes for play). In order to evaluate that your agent is able to play this game, we will emulate it. We will start shuffling real block dominoes. A team member will draw 7 tiles for using these as input to his agent. If he drew the tile 6-6, then his agent will start playing. Otherwise, it will wait for a signal to know who will start playing. After this, the play must proceed according to aforementioned rules. A team member will be in charge of introducing the information regarding each player's move to the agent in order to follow the game, but just the agent must provide the next tile to play anytime. The agent must be able to recognize when it wins.

2) Intelligence. In order to evaluate how intelligent your agent is, we will start a new round, but we will provide your agent with a winner hand (i.e. the seven tiles of a number, 6-6 6-5 6-4 6-3 6-2 6-1 6-0) and the player will have a bad hand (e.g., 1-1 2-2 3-3 4-4 5-0 1-3). The agent must be able to win.

Finally your code should be sufficiently documented that the TA can read and understand the operation of your code.

I have been receiving some questions regarding homework 3, so I would like to clarify them for all of you.

1) The evaluation process will based on a real round using real tiles, so your code must not emulate this game, you were asked for an interactive agent which will play against a real player based on a real scenario where just limited information is available for your agent.

2) During evaluation process, I will provide a real dominoes for play, as I explained in our special session, after shuffling real tiles in the board, we will start playing as a real round using these real tiles. I mean, a team member  and I will choose 7 tiles and we will leave the rest of tiles (14 tiles) for the boneyard.

3) You will allow to input your 7 initial tiles in any format.

4) Your agent will not able to know neither my tiles nor boneyard's tiles. I mean, YOU ARE NOT ALLOWED TO INTRODUCED THESE TILES, THEY WILL BE HIDDEN FOR YOUR AGENT.

5) I will provide you the starting tile, namely, 6-6. So, your agent will be first playing.

6) After start, we will continue playing as rules of game are indicated, but only your agent will be in charge of choosing tiles to play for you.

7) During round, you will allow to input the following information: any tile played by your opponent, open ends, number of tiles drew by your opponent, tiles that you drew if required.

8) If your agent has a valid tile for any open end, it is not allowed to draw any tile.


Posted Date: 2/28/2013 5:20:57 AM | Location : United States

Related Discussions:- Wap for intelligent agent able to play block dominoes game, Assignment Help, Ask Question on Wap for intelligent agent able to play block dominoes game, Get Answer, Expert's Help, Wap for intelligent agent able to play block dominoes game Discussions

Write discussion on Wap for intelligent agent able to play block dominoes game
Your posts are moderated
Related Questions
We want to create a structure that will represent a deck of cards (not necessarily full). Each card has a character (between '2' to '9' and 'T', 'J', 'Q', 'K', 'A') and a suit (dia

Explain the Goto Statement - Computer Programming? The goto statement is employed to alter the normal sequence of program execution by transferring control to some other part o


Write a script called 'prob1.m' that solves for the variables y, and z in terms of a user inputed x. The variables y and z are defined as follows: y = x - 30                when

Procedure-oriented programming (POP):- This is a top-down programming approach, where the problem is viewed as a sequence of tasks to be done such as calculating, printing etc. A n

.NET class libraries in .NET Whether you create value in C# or VB.NET, you are getting in touch with techniques in the same .NET category your local library. The same .NET str

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

need a command to : Display user id, first and last names of all the students the class specified by the prefix in alphabetical order by last name from /etc/passwd

Triple Eigenvalue with 1 Eigenvector The eigenvalue/vector pair in this case are l and  ?h , . Since the eigenvalue is real we know as the first solution we require is, e l

W.A.S.S to find the maximum of three numbers Program # W.A.S.S to find the maximum of three numbers echo "Enter three No.:" read no1 read no2 read no3 if test $no1 -gt $n