Skip to content

jordanderson/roadblock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roadblock

We visited the National Building Museum in Washington DC and my oldest son picked out a game called Roadblock in the gift shop. I was initially turned off by the subject matter, but the first time we played it I was intrigued by the puzzles and some questions I had about them:

  1. How many starting board permutations are possible with this set of pieces?
  2. What determines the difficulty of each starting board?
  3. Each starting board published in the Roadblock instructions has only only solution. Are there starting boards with multiple solutions? How many?

In seeking some answers to my questions I discovered polyominoes and the recursive backtracking algorithms used to solve polyomino puzzles. In particular, Matt Busche's Polycube turned out to be a great resource to help answer some of these questions.

So I created a simple ruby wrapper around the polycube binary called polycube-rb, and this repository to help answer some of the questions above.

About

A ruby implementation of the boardgame Roadblock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages