Heyawake: Part 1 (Introduction/Rules)

by greenturtle3141, Dec 27, 2021, 1:28 AM

Reading Difficulty: 0/5
Prerequisites: Have a brain

For a nice change of pace from the mile-long posts, I've decided to split this topic into two short ones.

This post in particular won't have math in it! The next one will. Here, I will just introduce the Heyawake puzzle's rules. I'll give a sample puzzle and walk through how to solve it. Then you can try and solve some on your own!


What is Heyawake?

Heyawake (probably pronounced "Hay-Ah-Wah-Keh") is a logic puzzle, like Sudoku. You're given a thing, and you need to fill out the thing in some logical way to satisfy a collection of rules.

Here is an example solve:
https://cdn.discordapp.com/attachments/502683689885630498/773433123358113822/unknown.png


What are the rules?
  1. A grid full of "rooms" is given. Rooms are enclosed by the bold lines. Some rooms may contain a single number.
  2. Fill some squares in black.
  3. If a room has the number $n$, then that room must have exactly $n$ black squares. Rooms that have no number can have any number of black squares.
  4. Two block squares may NEVER be orthogonally adjacent! (They can touch diagonally, however).
  5. There cannot exist a horizontal or vertical line that cuts through a room without hitting a black square (or the edge of the grid). This is the essential rule of Heyawake! I will give examples to clarify precisely what this means.
  6. The white squares must form a single connected/contiguous region. (This is sometimes called the "connectivity" condition.)

Here are sample errors.

https://i.imgur.com/JzMN9hA.png


Sample Solve

Let's solve the example puzzle together! If you want, here's a link to the puzzle if you want to follow along and/or try it yourself first: https://puzz.link/p?heyawake/7/7/94i94i94g01vg0fs0013102g2h.

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Step 7


A Historical Note on the "Essential Rule"

I phrased it in a more "intuitive" way, rather than trying to be precise. I think it is hard to describe precisely.

In the past, the essential rule would typically be phrased like this:
Quote:
There cannot exist a horizontal or vertical line of white squares that passes through $3$ rooms.
Sounds legit, right? Why didn't I just say that? That's because it's technically wrong!

...But back in the day, it was correct. What changed?

Answer: Modern times introduced non-rectangular rooms. If the puzzle contained only rectangular rooms (as is true in many logic puzzle books), then the rule is indeed equivalent! Now, consider the following example:

https://i.imgur.com/pyQ0oEv.png

Under the original wording, this red line of white squares is not a violation of the rules, because it technically passes through only two rooms. It exits and re-enters the same room. But this certainly feels very wrong because it "cuts through" a room, in the way that I have intuitively described it in the rules.

To fix this, some write the essential rule as follows:
Quote:
There cannot exist a horizontal or vertical line of white squares that intersects two border lines.
It fixes the rectangular issue, albeit there is still some imprecision (e.g. does ending at a border line count as an intersection?), which is why I chose a more intuitive wording in lieu of being precise.


Puzzles For You!

Give it a try! Left click to shade in a black square, right click to mark a square as not black. You can also undo with Ctrl+Z.

Easy puzzle: https://puzz.link/p?heyawake/6/6/5dd0arsifop122j1g2h

Easy-Medium puzzle: https://puzz.link/p?heyawake/7/7/a5kqd6g801vg00dv002i324g3

Medium puzzle: https://puzz.link/p?heyawake/7/7/4i1052h2g081vo00c044g52g

Hard puzzle: https://puzz.link/p?heyawake/7/7/e75ipcpcgpv100tv00h31i111121 (Preliminary hint: This may require both creativity and some casework! Use the "trial" mode to easily explore possible paths.) Big Hint


For Next Time...

Great, now try solving this one.

https://i.imgur.com/zUVszqt.png

https://puzz.link/p?heyawake/10/10/00000112244000000000003s00003s000000-1f2

...You can probably see that it's very hard, and there doesn't seem to be any good way to solve it.

In the next post, we will explore how we can solve puzzles like the above... using math!
This post has been edited 1 time. Last edited by greenturtle3141, Dec 27, 2021, 1:30 AM

Comment

0 Comments

Turtle math!

avatar

greenturtle3141
Archives
+ October 2024
Shouts
Submit
  • Can you give some thought to dropping a guide to STS? Just like how you presented your research (in your paper), what your essays were about, etc. Also cool blog!

    by Shreyasharma, Mar 13, 2025, 7:03 PM

  • this is so good

    by purpledonutdragon, Mar 4, 2025, 2:05 PM

  • orz usamts grader

    by Lhaj3, Jan 23, 2025, 7:43 PM

  • Entertaining blog

    by eduD_looC, Dec 31, 2024, 8:57 PM

  • wow really cool stuff

    by kingu, Dec 4, 2024, 1:02 AM

  • Although I had a decent college essay, this isn't really my specialty so I don't really have anything useful to say that isn't already available online.

    by greenturtle3141, Nov 3, 2024, 7:25 PM

  • Could you also make a blog post about college essay writing :skull:

    by Shreyasharma, Nov 2, 2024, 9:04 PM

  • what gold

    by peace09, Oct 15, 2024, 3:39 PM

  • oh lmao, i was confused because of the title initially. thanks! great read

    by OlympusHero, Jul 20, 2024, 5:00 AM

  • It should be under August 2023

    by greenturtle3141, Jul 11, 2024, 11:44 PM

  • does this blog still have the post about your math journey? for some reason i can't find it

    by OlympusHero, Jul 10, 2024, 5:41 PM

  • imagine not tortoise math

    no but seriously really interesting blog

    by fruitmonster97, Apr 2, 2024, 12:39 AM

  • W blog man

    by s12d34, Jan 24, 2024, 11:37 PM

  • very nice blog greenturtle it is very descriptive and fascinating to pay attention to :-D

    by StarLex1, Jan 3, 2024, 3:12 PM

  • orz blog

    by ryanbear, Dec 6, 2023, 9:23 PM

67 shouts
Tags
About Owner
  • Posts: 3554
  • Joined: Oct 14, 2014
Blog Stats
  • Blog created: Oct 23, 2021
  • Total entries: 54
  • Total visits: 41046
  • Total comments: 126
Search Blog
a