Procedural Puzzle Challenge Generation in Fujisan 富士山

Slides:



Advertisements
Similar presentations
The Poker Squares Family: cards, letters, and hexes Todd W. Neller.
Advertisements

AE1APS Algorithmic Problem Solving John Drake
Strategy Games for Older Students YUMI DEADLY CENTRE School of Curriculum Enquiries: YuMi Deadly.
Solving this puzzle gives you ONE Grid Reference
DO NOW: Today we are studying how a predator population and a prey population affect each other. Read Analysis Questions #3 and 4 and write your hypothesis.
Matthew Marcon Project 19 1/10/12
MOM! Phineas and Ferb are … Aims:
Place Value Kim Burns. Chip-Trading Games Use chip-trading games to teach place value. These games stress the idea of exchanging many for one. The values.
NSW Curriculum and Learning Innovation Centre Introducing the Measurement aspect of the Numeracy continuum.
How to Play Checkers This presentation is a tutorial on how to play on of the oldest and most popular games in history. Presented By: Cathryn Depuy Project.
Section 11.4 Tree Diagrams, Tables, and Sample Spaces Math in Our World.
CS 8803 Design Game GamesRamkumar MS CS MS CS. Interesting Game(??!!??)  Tough task to choose   A game has to be both funny and challenging to make.
Structure of global stiffness matrix Global stiffness matrix K is completed by additions from element matrices, as described in detail in the illustrative.
A Classic Game of Strategy for the 21 st Century.
Homework 3 Can you divide 36 balls into 9 groups such that each group has odd number of balls? 36 ÷ 9 = 4, 4 is even What if we change things around a.
summer term mathematics activities for year six
Informed Search Reading: Chapter 4.5 HW #1 out today, due Sept 26th.
Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006.
Model with Arrays MAFS.3.OA.1.1, MAFS.3.OA.1.3. Model with Arrays How could you model 3 x 4?
The Lovely Game of NIM. Version 1 - Classic NIM You will need seven objects, such as counters or blocks. It is a game for two players. Place the 7 counters.
Place the number puzzles
Patrick Racy Project 19 1/9/12
Modeling the Game of Brain Cube Leslie Muzulu, Kristal Jameson, and Kathy Radloff; St. Catherine University Game Description Brain Cube is a puzzle game.
Lesson 6.13:.  With your partner, use the tiles in your bag to construct a rectangle with 4 rows of 5 on your personal board.  Tell your partner the.
{ Module 4 Lesson 3 Model tiling with centimeter and inch unit squares as a strategy to measure area.
Four in a Line activities
What conditions are necessary for the gases to come together and form stars? Today’s Date.
Presidential Mania 2-4 players ages 9+ Object: to travel around the board, and reach the White House. Contents: 1 presidential game-board, 4 colorful pieces,
NAME THAT ALGORITHM #2 HERE ARE SOME PROBLEMS. SOLVE THEM. GL HF.
Victorian Curriculum Mathematics F - 6 Algorithms unplugged
Adding Probabilities 12-5
Backgammon: A Game of Skill and Intelligence
summer term mathematics activities for year six
What Is Probability?.
Two views Here are two views of the same shape made up of coloured cubes. How many cubes are there in the shape? What’s the minimum number? Maximum number?
Who does what, where, when, and how?
Sequential Placement Optimization Games: Poker Squares, Word Squares, and Take It Easy! Todd W. Neller Abstract: In this talk, we teach how to play “Poker.
Monte Carlo simulation
Lynchburg College Mathematics 451 Project Presentation
Heuristic Search A heuristic is a rule for choosing a branch in a state space search that will most likely lead to a problem solution Heuristics are used.
Presented by: Jacob Thurston Project 19 – How to Play Checkers 3/8/12
A Sampling of Chess and Chip Games
Game Art and Design Unit 3 Lesson 3 Procedure and Rules
Games with Chance Other Search Algorithms
The Birds of a Feather Research Challenge
Game Art and Design Unit 3 Lesson 3 Procedures and Rules
Discovering a Formula to Calculate Area
Random numbers What does it mean for a number to be random?
“Human Sorting” It’s a “Problem Solving” game:
TRICKS & TREATS Each team rolls the die, lowest number goes first.
Technical Implementations
COUNTING AND PROBABILITY
More Counting A B … f Lecture 16: Nov 9.
adapted from Recursive Backtracking by Mike Scott, UT Austin
Witzzle Pro The Rules of the Game.
COUNTING AND PROBABILITY
Topic 1: Problem Solving
KS3 Mathematics A5 Functions and graphs
Matthew Renner, Trish Beeksma, Patch Kenny
N6 Calculating with fractions
Stack Applications Lecture 29 Thu, Apr 5, /23/2019
Stack Applications Lecture 29 Thu, Apr 1, /29/2019 Stacks.
Games with Chance Other Search Algorithms
“Human Sorting” It’s a “Problem Solving” game:
Addition and Subtraction Partitioning and column addition
Reading: Chapter 4.5 HW#2 out today, due Oct 5th
Six dominoes have been placed in this grid and there is only one way of filing the grid with more dominoes. Try it:
2019 SAIMC Puzzle Challenge General Regulations
PL_Szkoła_Podstawowa_Nr 51_w_Białymstoku
Chapter 11 Probability.
Presentation transcript:

Procedural Puzzle Challenge Generation in Fujisan 富士山 Dr. Mark Goadrich – Hendrix College James Droscha – Glastyn Games

FujisaN: A Solitaire Puzzle Game

Fujisan Elements 2 Rows x 12 Columns of spaces with values between 0 and 5 inclusive 4 Shinto Priests start off the board on either side GOAL: Move Priests one at a time until all four are at the summit. 24 Values 1 2×2 Summit 10 Steps 24 Spaces 4 Priests

Fujisan Movement Rules A Priest may move onto a space if that space’s value matches the number of unoccupied spaces the Priest must move in a straight line, left or right, to get there (including the destination space itself, but not including the Priest’s starting space). Occupied spaces (containing intervening Priests) are not counted when determining the distance from a Priest to a given space. A Priest may pass over the summit as part of a move. A Priest that lands on the mountain’s summit can no longer move left or right, but may still move freely up or down within the column. A Priest may move freely up and down between the two spaces of any given step of the mountain.

How To make Fujisan Challenges? The solver must use the pieces of the game to setup their own challenges. Is the setup process easy for the solver? Can all such challenges be solved? How difficult are the created challenges?

Solitaire Puzzles and Procedural Content Generation

Solitaire Puzzle Games Fifteen Puzzle, Tipover, Peg Solitaire, Sokoban, Monument Valley

Procedural Content Generation Offline Constructed Deterministic Necessary Online Generate-and-Test Randomized Optional Making Challenges for Solitare Puzzle Games is like making Levels for Video Game Puzzle Games

RUSH HOUR Offline Constructed Deterministic Necessary Randomized

Klondike Solitaire Online Generate-and-Test Randomized Optional Necessary?

5 setup Algorithms

Piecepack Game System 24 square tiles, indexed on the obverse in four suits (suns, moons, crowns, and arms) of six values each (null, ace, 2, 3, 4, and 5) and divided on the reverse into a 2×2 space grid. 24 round coins, each sized to fit comfortably into one space on a tile, marked on the obverse with one of the six values and on the reverse with one of the four suits. 4 cubic dice, one per suit, each side marked with one of the six values. 4 pawns, one per suit, each sized to fit comfortably into one space on a tile.

1. Pure Random TEDIOUS ≈ 1018 Challenges Take one die from the piecepack. For each space, roll the die and place a coin that matches the number rolled on the space. ≈ 1018 Challenges 0 – 24 of each value

2. Any Coin BETTER ≈ 1015 Challenges Shuffle the 24 coins face-down. For each space on the board, randomly select one coin and place it face-up on this space. ≈ 1015 Challenges 4 of each value

3. Piecepack rules OK ≈ 1010 Challenges Shuffle the 24 coins face-down, and separate into four groups based on their suit. Then repeatedly place two coins on the two right-most available spaces, choosing from each of the suits in turn (sun, moon, crown, arms). ≈ 1010 Challenges 4 of each value Step values cannot be identical

Alternate Pieces? 20 Engraved Tiles 15 Dominoes double-five mirrored configuration minus all-0 tile 15 Dominoes double-five configuration minus tiles with identical value

4. Engraved Tiles EASY ≈ 107 Challenges Shuffle the tiles face-down. Then assemble the mountain using face- up tiles, using six for the bottom row, five for the next row, then four, then three, and finally two. ≈ 107 Challenges 0-7 of each value Step values cannot be identical Step values only repeated at summit

5. Dominoes EASY ≈ 105 Challenges Shuffle the dominoes face-down. Place 12 of these dominoes face-up in a row to create the mountain. ≈ 105 Challenges 2-5 of each value Step values cannot be identical Step values cannot be repeated

Results

Fujisan Simulator C# implementation 1000 Challenges per Setup .210133325040. .245231154405. (1,13) -> (1,8) .2452311.4405  (1,8) -> (1,3) .24.231154405  (1,3) -> (0,3) .21.133325040. .245231154405  (0,3) -> (0,1) ..10133325040. (0,0) -> (0,2)  ..0133325040. (0,1) -> (1,1)  2.0133325040. C# implementation 5 PCG Setups A* Solver 1000 Challenges per Setup 10 Trials of 100 Challenges https://github.com/mgoadric/fujisan

Remaining Questions Can all such challenges be solved? How difficult are the created challenges?

Solvability Recorded percent of solvable challenges for each strategy t-test results Random < Any Coin Any Coin < piecepack piecepack < Domino

Difficulty Random Any Coin Recorded minimum length solution for each solvable challenge Follows Poisson distribution Kruskal-Wallis H-test p-value = 1.93 x 10−8 Engraved Tiles is the culprit! Missing 0 values? piecepack Engraved Dominoes

Understanding The Results Good Fujisan challenges have Non-obvious moves (need 0 values) Well-connected steps (non-identical step values) Well-distributed values (non-repeated step values)

Future Work Formalizing Easy of Physical Setup Shuffling and Sorting different for computers and humans Enriching Difficulty Metric Are all moves equal? What about branching factor? Can PCG for Solitaire Puzzles be Online and Constructive? Must avoid being tedious Must avoid giving away the solution Dominoes lack mountain aesthetic?