a set of ominoes with 21 Blokus tiles: Two players, alternate turns to place a piece of omino on the board of 14x14 (The starting points will be fixed.

Slides:



Advertisements
Similar presentations
5.1 Rules for Exponents Review of Bases and Exponents Zero Exponents
Advertisements

Variations of the Turing Machine
(touches x-axis twice) (does not touch x-axis)
ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala
HOLD UP YOUR BOARD! Chapter 7 Review game.
/ /17 32/ / /
Reflection nurulquran.com.
Worksheets.
Math Expressions How does it all work together…?.
Summary of Convergence Tests for Series and Solved Problems
Multiplication Facts Review. 6 x 4 = 24 5 x 5 = 25.
Summative Math Test Algebra (28%) Geometry (29%)
Who Wants To Be A Millionaire? Addition & Subtraction Word Problems.
Learning to show the remainder
The 5S numbers game..
Simple Linear Regression 1. review of least squares procedure 2
Discrete Distributions
The basics for simulations
A Lesson in the “Math + Fun!” Series
Discrete Math Recurrence Relations 1.
Quadratic Equations and Problem Solving
The Racing Game of Knowledge Continue Questions – push on trees
Chapter 5 Computing Components. 5-2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von.
Elementary Statistics
DIVISIBILITY, FACTORS & MULTIPLES
MM4A6c: Apply the law of sines and the law of cosines.
Chapter 4 Gates and Circuits.
Chapter 4 Gates and Circuits.
Gates and Circuits Nell Dale & John Lewis (adaptation by Erin Chambers and Michael Goldwasser)
Reconstruction from Voxels (GATE-540)
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
© 2008 Prentice-Hall, Inc. Decision Analysis. © 2009 Prentice-Hall, Inc. 3 – 2 Decision Trees decision tree Any problem that can be presented in a decision.
Multiple dependency activity on node (AoN) networks ( lecture )
Monday – Holiday Tuesday – Review - Ch. 7, Section 1; Pg. 908, 1-6 Wednesday – Review – Ch.7, Section 2; Pg Thursday – Practice Quiz Sections.
Chapter 4 Gates and Circuits.
Advance Mathematics Section 3.5 Objectives:
Geometry Part 1B Perimeter By Julia Arnold, Dick Gill and Marcia Tharp for Elementary Algebra Math 03 online.
Hypothesis Tests: Two Independent Samples
Squares and Square Root WALK. Solve each problem REVIEW:
Graphing y = nx2 Lesson
Virginia Birch MFNERC Numeracy Specialist
25 seconds left…...
Subtraction: Adding UP
= 2 = 4 = 5 = 10 = 12. Estimating Non-Perfect Squares For Integers that are NOT perfect squares, you can estimate a square root = 2.83.
WU # y +1 < 19 5y +2 -y > 8 -7y  -14 4y – 7y -7 < y y + 6  21 y < 2 y  - 3 y > -4 y  2.
Chi-square and F Distributions
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
a*(variable)2 + b*(variable) + c
Year 3 Objectives: Number NUMBER AND PLACE VALUE Objective 1: Read and write numbers up to 1000 in numerals and words Read and write all numbers to 100.
NON - zero sum games.
ChooseMove=16  19 V =30 points. LegalMoves= 16  19, or SimulateMove = 11  15, or …. 16  19,
Parallel algorithms for expression evaluation Part1. Simultaneous substitution method (SimSub) Part2. A parallel pebble game.
0 x x2 0 0 x1 0 0 x3 0 1 x7 7 2 x0 0 9 x0 0.
Martin Boyd Christopher Hirunthanakorn
7x7=.
Place captured red pieces here Place captured yellow pieces here To use as Kings Rules New Game Exit Left mouse click on piece – drag to desired location.
Representing a Game Board In a game, we represent the action taking place using an array – In a very simple game, we use individual variables to represent.
© 2007 Ray S. Babcock Tracks Game is played on a (nxn) set of squares. There are three possible moves (labeled A,B,C). Players alternate making a move.
Using Reduction for the Game of NIM. At each turn, a player chooses one pile and removes some sticks. The player who takes the last stick wins. Problem:
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas in Computer Science.
Games. Adversaries Consider the process of reasoning when an adversary is trying to defeat our efforts In game playing situations one searches down the.
Senior Project Poster Day 2007, CIS Dept. University of Pennsylvania Reversi Meng Tran Faculty Advisor: Dr. Barry Silverman Strategies: l Corners t Corners.
The Standard Genetic Algorithm Start with a “population” of “individuals” Rank these individuals according to their “fitness” Select pairs of individuals.
Modeling the Game of Brain Cube Leslie Muzulu, Kristal Jameson, and Kathy Radloff; St. Catherine University Game Description Brain Cube is a puzzle game.
Great Theoretical Ideas in Computer Science
Duo By: Fernando & Vivian.
Structure diagrams for lab 13
Circles Squares or Rectangles Triangles
Presentation transcript:

a set of ominoes with 21 Blokus tiles: Two players, alternate turns to place a piece of omino on the board of 14x14 (The starting points will be fixed on the board, somewhere near the center) Valid move: touches at least one piece of the same color corner-to-corner contact -- edges cannot touch Game ends: no more valid move for both players Pay off: Whoever has the least number of squares left wins

DETERMINATE NON ZERO-SUM PERFECT INFORMATION SEQUENTIAL NEITHER NORMAL NOR MISERE

Step 1: Find the size of board corresponding to the ominoes that is offered. Step 2: Start with the smaller size of the board, and find the number of game states. Step 3: Use the combination and the number of corners on the board to estimate the bigger size of the board.

Regular game: 14x14; 21 pieces of ominoes; # of squares on the board: 14x14 = 196; # of squares the ominoes have: 89; If the players are offered the free polyominoes of from one to two squares, which is: Then there are 3 squares on the ominoes, Ratio: 3/89 = (x^2)/196

Ominoes offered Free polyominoes of square one through N # of pieces of ominoes Total # of squares on the ominoes Correspondin g size of board N = 2233x3 N = 3495x5 N = 49298x8 All 21 piecesN = x14

Draw out every game configurations for smaller board. For 3x3 board, 40 game states; For 5x5 board, 2500 game states;

Formula: C (n, r) = n!/(r!(n-r)!) Assume each piece of omino has four corners If m = the number of moves that has been done for each player c = the number of corners available on the board; c = 4m – (m - 1) = 3m + 1 C (n, r): n = c x number of orientations of next piece

There are other possible orders. Each player has to x (4!) Player 1: [C (1, 1) + C (8, 1) + C (14, 1) + C (40, 1)] x (4!) = 1512 Player 2: [C (24, 1) + C (8, 1) + C (14, 1) + C (40, 1)] x (4!) = = >> 2500 Assume all the pieces offered can fit in the board; do not take the side-touch into consideration.

Player 1: [C (1, 1) + C (8, 1) + C (14, 1) + C (40, 1) + C (26, 1) + C (16, 1) + C (76, 1) + C (88, 1) + C (50, 1)] x (9!) = 115,758,720 Player 2: [C (63, 1) + C (8, 1) + C (14, 1) + C (40, 1) + C (26, 1) + C (16, 1) + C (76, 1) + C (88, 1) + C (50, 1)] x (9!) = 138,257, ,758, ,257,280 = 254,016,000 The total number of game states is 254,016,000.

Player 1: [C (1, 1) + C (8, 1) + C (14, 1) + C (40, 1) + C (26, 1) + C (16, 1) + C (76, 1) + C (88, 1) + C (50, 1) + C (56, 1) + C (124, 1) + C (136, 1) + C (148, 1) + C (160, 1) + C (86, 1) + C (184, 1) + C (196, 1) + C (208, 1) + C (220, 1) + C (58, 1) + C (244, 1)] x (21!) = x 10^23 Player 2: [C (195, 1) + C (8, 1) + C (14, 1) + C (40, 1) + C (26, 1) + C (16, 1) + C (76, 1) + C (88, 1) + C (50, 1) + C (56, 1) + C (124, 1) + C (136, 1) + C (148, 1) + C (160, 1) + C (86, 1) + C (184, 1) + C (196, 1) + C (208, 1) + C (220, 1) + C (58, 1) + C (244, 1)] x (21!) = x 10^ x 10^ x 10^23 = x 10^23 The total number of game states is x 10^23.

2 different versions. Human only version Computer only version.

Move Input Either player 1 or player 2 inputs the following: Piece Row Column Orientation This will be demonstrated in a bit.

Piece Representations Since we did not use graphics in our program we represented the pieces as numbers. You had to reference a sheet of paper that had the pieces drawn on them and all their orientations.

Pieces Example

Version 2 This version of the program was the most helpful. What does the program do? Makes random legal moves. Tell the computer know what size of board you want to use and how many games you want it to play. Outputs the total number of different board configurations

Some results 3x3 board. Most number of boards found was 574 5x5 board Most number was 3445