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

Assignment Help:

Objective:

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.

Setup:

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.

Evaluation:

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.

Finally, a GUI is not required, so DON'T SPEND TIME DEVELOPING IT, PLEASE REMEMBER THE MOST IMPORTANT PART IS THE ARTIFICIAL INTELLIGENCE MODULE.


Related Discussions:- Wap for intelligent agent able to play block dominoes game

Display & list directory contents, Normal 0 false false fal...

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

econometrics using r, EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduct...

EF308 Assignment 2 Due: 3pm, 26 April 2012 Introduction This assignment is loosely based on Cheung et al. (2005) and Molodtsova and Papell (2009) and examines the out-of- sample pr

Write your own version of the strcmp function string_compare, Write your ow...

Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, cha

Application for a mid , The assignment has two parts: first you generate a ...

The assignment has two parts: first you generate a simple application for a MID that operates independently of other MIDs. As a second part, the application is extended to keep so

We are need of a prestashop expert, We are need of a PrestaShop Expert W...

We are need of a PrestaShop Expert We are getting a fresh design created for our Jewellery website. This job is in 2 parts 1. The website engine is PrestaShop as well as w

Assembly language coding, i need a coding to glow 8 LEDs on a port with pwm...

i need a coding to glow 8 LEDs on a port with pwm effect

Modularity, Modularity, Abstraction, and Modelling Whether proving a t...

Modularity, Abstraction, and Modelling Whether proving a theorem by creating up from lemmas to simple basic theorems to more accurate results, or designing a circuit by creati

shell script to check that a given number is prime or not, Normal 0 ...

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

Python, Software and sales assingment I keep get a syntax error

Software and sales assingment I keep get a syntax error

Design a mobile web browser..., HOW CAN I DESIGN A MOBILE WEB BROWSER LIKE ...

HOW CAN I DESIGN A MOBILE WEB BROWSER LIKE OPERA MINI. USING VISUAL BASIC? HELP ME.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd