Scrabble is PSPACE-Complete

Similar documents
Scrabble is PSPACE-Complete

Easy to Win, Hard to Master:

Super Mario. Martin Ivanov ETH Zürich 5/27/2015 1

HIROIMONO is N P-complete

depth parallel time width hardware number of gates computational work sequential time Theorem: For all, CRAM AC AC ThC NC L NL sac AC ThC NC sac

arxiv: v1 [cs.cc] 12 Dec 2017

Faithful Representations of Graphs by Islands in the Extended Grid

Quantified Boolean Formulas: Call the Plumber!

Alessandro Cincotti School of Information Science, Japan Advanced Institute of Science and Technology, Japan

Words Mobile Ready Game Documentation

Midterm. CS440, Fall 2003

22c181: Formal Methods in Software Engineering. The University of Iowa Spring Propositional Logic

5.4 Imperfect, Real-Time Decisions

Lecture 16 Scribe Notes

arxiv:cs/ v2 [cs.cc] 27 Jul 2001

Automatic Wordfeud Playing Bot

Lecture 20 November 13, 2014

STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES

Light Up is NP-complete

Your Name and ID. (a) ( 3 points) Breadth First Search is complete even if zero step-costs are allowed.

MULTINATIONAL WAR IS HARD

Even 1 n Edge-Matching and Jigsaw Puzzles are Really Hard

Lecture 19 November 6, 2014

Universiteit Leiden Opleiding Informatica

ACTIVITY 6.7 Selecting and Rearranging Things

Mario Kart Is Hard. Citation. As Published Publisher. Version

Hanabi is NP-complete, Even for Cheaters who Look at Their Cards,,

Read everything and look at the examples. Then answer the questions on the last page.

The Complexity of Playing Durak

Variance Decomposition and Replication In Scrabble: When You Can Blame Your Tiles?

The Computational Complexity of Games and Puzzles. Valia Mitsou

Classic Nintendo Games Are (Computationally) Hard

Variance Decomposition and Replication In Scrabble: When You Can Blame Your Tiles?

The Computational Complexity of Angry Birds and Similar Physics-Simulation Games

Game Values and Computational Complexity: An Analysis via Black-White Combinatorial Games

Variations on Instant Insanity

Automatic Wordfeud Playing Bot. MARTIN BERNTSSON and FREDRIC ERICSSON

Problem Set 4 Due: Wednesday, November 12th, 2014

Instructions [CT+PT Treatment]

Section Marks Agents / 8. Search / 10. Games / 13. Logic / 15. Total / 46

MITOCW watch?v=x-ik9yafapo

A Multipath Detection Scheme Using SAT

Here is a step-by-step guide to playing a basic SCRABBLE game including rules, recommendations and examples of frequently asked questions.

Playful AI Education. Todd W. Neller Gettysburg College

Sequential Placement Optimization Games: Poker Squares, Word Squares, and Take It Easy! Todd W. Neller

How hard are computer games? Graham Cormode, DIMACS

On the Parameterized Complexity of Finding Short Winning Strategies in Combinatorial Games

2048 IS (PSPACE) HARD, BUT SOMETIMES EASY

SCRABBLE ARTIFICIAL INTELLIGENCE GAME. CS 297 Report. Presented to. Dr. Chris Pollett. Department of Computer Science. San Jose State University

The Hardness of the Lemmings Game, or Oh no, more NP-Completeness Proofs

Scrabble. Assignment 2 CSSE1001/7030 Semester 2, Version 1.0.0rc1. 20 marks : 10% Due Friday 22 September, 2017, 21:30

The Complexity of Request-Response Games

arxiv: v1 [cs.cc] 16 May 2015

arxiv: v2 [cs.cc] 20 Nov 2018

Herugolf and Makaro are NP-complete

arxiv: v1 [cs.gt] 29 Feb 2012

Computer Science Faculty Publications

Lecture 1, CS 2050, Intro Discrete Math for Computer Science

Tetsuo JAIST EikD Erik D. Martin L. MIT

UMBC CMSC 671 Midterm Exam 22 October 2012

Who witnesses The Witness? Finding witnesses in The Witness is hard and sometimes impossible

Math 1111 Math Exam Study Guide

5.4 Imperfect, Real-Time Decisions

CSEP 573 Adversarial Search & Logic and Reasoning

Find the coordinates of the midpoint of a segment having the given endpoints.

TwoDots is NP-Complete

Lumines is NP-complete

Kaboozle Is NP-complete, even in a Strip

Timed Games UPPAAL-TIGA. Alexandre David

Mathematical Analysis of 2048, The Game

Homework Assignment #2

CS 188: Artificial Intelligence Spring 2007

Theoretical Computer Science

THE GAMES OF COMPUTER SCIENCE. Topics

More NP Complete Games Richard Carini and Connor Lemp February 17, 2015

DIGITAL LOGIC CIRCUITS

Lesson 17.1 Assignment

How can i write in english >>>CLICK HERE<<<

SCRABBLE COMPETITION

WEEK 7 REVIEW. Multiplication Principle (6.3) Combinations and Permutations (6.4) Experiments, Sample Spaces and Events (7.1)

arxiv: v2 [cs.cc] 29 Dec 2017

Important note: The Qwirkle Expansion Boards are for use with your existing Qwirkle game. Qwirkle tiles and drawstring bag are sold seperately.

Algorithms and Complexity for Japanese Puzzles

2018 NASSC RULES INTRODUCTION

SAT-based Analysis of the Legality of Chess Endgame Positions

A Protocol for Serializing Unique Strategies

Complexity and Retrograde Analysis of the Game Dou Shou Qi

Headstart Cup. Hong Kong Inter-Secondary School Scrabble. Championship 2017 R 1 K 5 S 1 H 4 V 4 T 1 Q 10 K 5 J 8 N 1 E 1

OPTIONAL 1 Clear tile (Diamond) If you have no clear tiles mark one as the diamond. Think Square transparent overlay to keep player tokens in place.

Knights, Knaves, and Logical Reasoning

The Complexity of Escaping Labyrinths and Enchanted Forests

Complex-Network Modelling and Inference

Keeping Your Distance is Hard

GC Gadgets in the Rush Hour. Game Complexity Gadgets in the Rush Hour. Walter Kosters, Universiteit Leiden

Class Examples (Ch. 3)

CSE 100: BST AVERAGE CASE AND HUFFMAN CODES

Backbone Guided Local Search for Maximum Satisfiability*

Fundamental Counting Principle

Probability: introduction

MITOCW watch?v=7d73e1dih0w

Transcription:

Scrabble is PSPACE-Complete Michael Lampis, Valia Mitsou and Karolyna Soltys KTH, GC CUNY, MPI Scrabble is PSPACE-Complete p. 1/25

A famous game... Word game played on a grid 150 million sets sold in 121 countries and 29 languages Scrabble is PSPACE-Complete p. 2/25

Scrabble Components-Rules 2 players Board Bag Tiles Rack Turn Scrabble is PSPACE-Complete p. 3/25

Our Model Deterministic, full-information version No special squares on the board All tiles worth the same amount of points Scrabble is PSPACE-Complete p. 4/25

Results Deterministic version is PSPACE-Complete hardness due to placement harness due to formation constant-size rack constant-size word constant-size alphabet One player version is NP-Complete Scrabble is PSPACE-Complete p. 5/25

3-CNF-Quantified Boolean Satisfaction n variables x 1,x 2,...,x n FO formula: x 1 x 2 x 3...φ φ is 3-CNF formula with m clauses QUESTION: Is the FO formula satisfiable? 3-CNF-QBF is PSPACE-Complete. We prove: NP-Completeness of 1-player version of Scrabble from 3-CNF-SAT and PSPACE-Completeness of 2-player version of Scrabble from 3-CNF-QBS. Scrabble is PSPACE-Complete p. 6/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 7/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 8/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 9/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 10/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 11/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 12/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 13/25

NP-Completeness due to Placement Scrabble is PSPACE-Complete p. 14/25

PSPACE-Completeness due to Formation x 1 x 2 x 3...φ Scrabble is PSPACE-Complete p. 15/25

PSPACE-Completeness due to Formation φ = (x 1 x 2 x 3 ) ( x 1 x 2 x 4 ) ( x 2 x 3 x 4 ) Scrabble is PSPACE-Complete p. 16/25

Words S(T F ) k 1 2 S, F (T F ) k 1 2 S, S(F T ) k 1 2 F, F (T F ) k 3 2 ST F T F, F (T F ) k 3 2 SF T F T S(F T ) k 1 2 S, T (F T ) k 1 2 S, S(T F ) k 1 2 T, T (F T ) k 3 2 ST F T F, T (F T ) k 3 2 SF T F T #AT, #AF #BS $$, **, #A, #B, # c, for c 2k # 5 Q# 9 Q# 9 Q# 5, for Q {$, *} Dictionary Definition The literal played has value True. The literal played has value False. First player s turn to assign truth value. Second player s turn to assign truth value. Wall word. 0**, 1**, 2**, 0$$, 1$$, 2$$ Word formed during satisfaction phase. 0**1T 20, 0$$1T 20, 0$$1F 20 1**2T 01, 1$$2T 01, 1$$2F 01, 0**2F 01 2**0T 12, 2$$0T 12, 2$$0F 12, 1**0F 12 No unsatisfied literals in the clause so far. One unsatisfied literal in the clause so far. Two unsatisfied literals in the clause so far. 0120, 1201, 2012 Symbols 0, 1, 2 order preserving words. Scrabble is PSPACE-Complete p. 17/25

PSPACE-Completeness due to Formation x 1 = T,x 2 = F Scrabble is PSPACE-Complete p. 18/25

PSPACE-Completeness due to Formation #AT, #AF : Player 1 assigns truth value #BS : Player 2 assigns truth value Scrabble is PSPACE-Complete p. 19/25

PSPACE-Completeness due to Formation 0**2F01 0**1T20 0$$1F20 0$$1T20 1 unsatisfied literal 0 unsatisfied literals Scrabble is PSPACE-Complete p. 20/25

PSPACE-Completeness due to Formation Scrabble is PSPACE-Complete p. 21/25

Bonus The pass move does not affect the reduction Zig-zag within the variables to obtain a reduction for constant size words and rack. Scrabble is PSPACE-Complete p. 22/25

Scrabble is PSPACE-Complete p. 23/25

Conclusions Results Deterministic version of Scrabble is PSPACE-Complete Hardness comes from two different aspects of the game 1-player version is NP-Complete Future Work Find the minimum alphabet size for which the problem becomes hard Prove that Scrabble is PSPACE-Complete for the English dictionary Study the randomized version of the game Scrabble is PSPACE-Complete p. 24/25

Scrabble is PSPACE-Complete p. 25/25