A blog for fans of Bananagrams, word games, puzzles, and amazing things

Friday, May 18, 2012

The power of recursive drawing

An MIT student has released a simple CoffeeScript/JavaScript-based tool for creating recursive drawings - combinations of rectangles and ellipses that can have a fractal-like structure. It is available at RecursiveDrawing.com. This video briefly explains and demonstrates how the tool works: Essentially, you can:
  1. Drag shapes into the canvas area.
  2. Move a shape around by clicking on its center and dragging.
  3. Resize a shape by clicking on its edge and dragging in and out with respect to the center.
  4. Rotate a shape by clicking on it edge and dragging sideways.
  5. Change the aspect ratio of a shape by clicking on its edge and dragging while holding the SHIFT key.
  6. Move around on the canvas by clicking and dragging the canvas.
  7. Zoom in and out by scrolling on a mouse or trackpad.
You can make more drawings by clicking on the "+" button in the sidebar, and shift between them by clicking on them. And then, by dragging the little representation of the canvas in the sidebar into the main canvas, you get the magical recursive effect.
I found it very easy to form a close approximation to a golden rectangle, subdivided into squares...
...or this spiral of home-plate-like pentagons:
I then made a pretty cool fractal tree:
Every time I play with this tool, I make something even better.
The interface is intuitive and powerful, making it terrific fun to play with. I would like to see a triangular shape, some control over color, and perhaps some kind of symmetry operator to allow flipping and reflecting of drawings. And since the source code is available, maybe someone will eventually add these features...

Friday, May 11, 2012

Lexcavator: A cool word-exploding arcade game

A great new arcade-like word game has just been released for desktop computers. It's called Lexcavator, a name that evokes the idea of digging for words. In this game, you tunnel down through a bottomless grid of letters by forming words Boggle-style. Then you jump your little avatar (represented by the "@" symbol) around in the various tunnels that you create, as you try to avoid being pushed up to the top of the screen by the constantly rising letter grid.
The game feels like a hybrid of Boggle and an inverted Tetris. Once you get used to using the mouse to click and drag through letters to form words and navigating with the keyboard, the interface becomes quite intuitive. There are power-ups in the form of other symbols: "!" creates a deep one-column-wide vertical shaft, ">" clears all the letters in the row that it is sitting on, "_" destroys a random set of tiles, "?" randomizes all the letters, and "*" takes out all letters in a 5-by-5 grid.
You don't necessarily need to activate the power-ups when you uncover them. I find that using the "?" power-up usually causes the resulting letters to be harder to make words out of. You also have the option of delaying usage of a power-up by guiding it down with you: for instance, standing next to the power-up and excavating under both yourself and it works nicely.

Once you finish a game, you get a report of various statistics about your performance. If you enable the "Internet" option in the Settings, the game will also report your scores to the central server and tell you how well you did compared to other players...

and what words you were the first in the world to find:
As of today, only 2% of the words on the word list had been found, according to the Lexcavator Twitter account. According to the developer's blog, the leaderboard is completely anonymous, so you don't have to worry about generating a login or a password or recovering a password when you've forgotten it. It's simple and done the right way, just like everything else about the game.

This is the kind of game that you will find yourself wanting to play repeatedly. There is also a Quest Mode which consists of a series of untimed challenges (like, find four 4-letter words, all in lines, without finding any other words).

You can get the game at lexcavator.com. It is being distributed on a pay-what-you-want model. I initially downloaded it for free, but I'm going to go back and pay for a copy to support the developer.

Tuesday, April 10, 2012

How good are competitive Scrabble players at recognizing words?

Researchers from the University of Calgary recently published a study (available in PDF or HTML) on how being an elite player in Scrabble tournaments affects one's word recognition ability. Although actually they tested for something much narrower than word recognition: wordness verification.

Basically, the researchers showed the subjects a series of words (half concrete words and half abstract) and non-words and asked them to identify whether or not they were real words as quickly as possible. There were three test groups in the experiment: a group of undergraduates, a group of competitive Scrabble players recruited from a tournament, and a third group of subjects chosen to have the same age distribution as the Scrabble players (with an average age of 57). Additionally, some words were displayed horizontally (like normal words) and others were displayed vertically (like on a Scrabble board).

The researchers found that the undergraduates were the fastest at responding to the word identification tasks (what the journal article terms "lexical decision tasks"), followed by the Scrabble players, and then the age-matched control group. Everyone was slower at identifying abstract words than concrete words, but the Scrabble players had the smallest added delay (120 ms for Scrabble experts versus 270 ms for the control group). The reason that this is interesting is that the added delay for abstract words is believed by some to indicate that people are thinking about the meanings of words when identifying them, and that abstract words take longer to verify due to the extra processing. (A previous study using fMRI scans showed that while certain regions of the brain light up with activity when the subjects are recognizing concrete words, extra regions of the brain come on line when recognizing abstract words.)

The fact that the Scrabble players could recognize abstract words with little additional delay suggests that they are not thinking about word meaning during the word recognition process. This is actually a well-established phenomenon called the concreteness effect.

The two groups of older subjects were far more accurate at identifying words than the undergraduates. Interestingly, Scrabble players and the age-matched group identified horizontal words with quite similar accuracies and speeds, but when the words were arranged vertically, the Scrabble players took a little longer, but had about the same accuracy. The control group took 35-40% longer (though the error bars are big), and made considerably more errors in recognizing words.

The paper then carefully analyzes these results:
The facility with vertical presentation shown by competitive Scrabble players in the present study may be attributable to experience processing words in vertical orientation on the Scrabble board. It is also possible, however, that this facility is due to the extensive word list practice that Scrabble players complete, or to strong word recognition skills that preceded the Scrabble experience. The nature of our design has not allowed us to infer causation.

The subjects were also given a variety of mental tests, and the Scrabble players only did especially well in the Scrabble-related skills (anagramming words and generating words that start with a particular letter). They were able to successfully anagram 3 times more words than the control group and 14 times more words than the undergrads.


The authors conclude the paper well by saying:
The behavior of these visual word recognition experts highlights the experience-driven nature of visual word recognition and pushes the bounds on what we previously considered the endpoint of development of the word recognition system.

So I am inferring from this study that either competitive Scrabble players learn to switch off the parts of the brain that think about the meanings of abstract words or else people who have this skill are preferentially drawn to Scrabble. Either way, someone should rustle up some more Scrabble experts and perform brain scans on them to verify this.

Monday, March 19, 2012

Results of the First World Palindrome Championship

Following up on my previous post about the first annual palindrome-writing competition, here is how it played out:

As mentioned on contestant Mark Saltveit's blog, Barry Duncan, who is the subject of an upcoming documentary (The Master Palindromist) had been invited to compete, but as he had not responded to the invitation, he was not expected to attend. Then he showed up on the day of the competition. His documentarian also attended and filmed the event, so we may get to see footage of the championship someday.

Doug Fink, writer of eight crossword puzzles (and more importantly the famous palindrome "Lisa Bonet ate no basil."), was selected from the audience as the final contestant.

Will Shortz announced that the contestants had to write palindromes meeting one of the following three constraints:
  1. The palindrome must contain an X and a Z.

  2. Or the palindrome must include a person or event in the news in the last 12 months.

  3. Or the palindrome must be somehow about the American Crossword Puzzle Tournament
I was rather surprised by these constraints because writing a palindrome about someone in the news is something that many of the contestants may have already done, so it didn't really guarantee that the palindrome might not have been conceived of beforehand. I was also a little disappointed that there were multiple allowable routes; it would have been more interesting to see what the results would have been if the contestants had competed head-to-head, writing the same kind of palindrome. But possibly this multi-path set of constraints was used because any single constraint could have been too limiting, potentially resulting in insufficiently diverse or entertaining palindromes. Still, in the future, I might suggest a multi-round scheme, where all contestants write palindromes for each set of constraints, the palindromes are all separately scored by round, and whoever's total score is highest, wins.


Based on the votes of the audience (mostly competitive crossword puzzle solvers who were there for the weekend crossword tournament), Nick Montfort placed fourth for his reversible poem about the Millennium Falcon. Jon Agee's submission placed third: "'Zoning' is Mr. Al Axe's sex alarm sign in Oz." The runner-up was John Connett who wrote "'Not Newt,' Ron's snort went on." And (by a vote of 169 to 165) the winner and World Palindrome Champ was Mark Saltveit who wrote "Devil Kay fixes trapeze part; sex if yak lived." which he later described as "a tale of kinky shenanigans".


Saltveit wrote other palindromes during the allotted writing period including "I tan. I mull. In a way, Obama, I am a boy, a wan Illuminati."

He explained his third palindrome (which was about the American Crossword Puzzle Tournament) in this Metafilter Metatalk thread:
If anyone saw the film Wordplay, Al Sanders was the guy who has placed 3rd about 10 years in a row, and was eliminated due to a tragic error in the film after he clearly had won.

This palindrome predicts that he will finally win the tournament this year:
"Gal, smiles are stellar ere crossword rows sorcerer Al lets era's elim's lag."
(Incidentally, Metafilter is one of the coolest sites on the Internet.)

Even before learning that the crossword puzzle tournament was going to be one of the possible constraints for the palindromes, I was thinking that including crossword references would be a good way to play to the crowd. Maybe something like this reference to cryptic crossword puzzles would do:
We hate Seven Across: "Or can Eve set a hew?"
(Hint: It's only a caricature of cryptic crossword clues and not intended to be solved.)


Writing palindromes is not as easy as they make it look, so congratulations to Mark Saltveit and to all the contestants!



UPDATE: As Nick Montfort informed me in the comment thread, all of the palindromes presented by the contestants are being posted at http://palindromist.org/results. They are definitely worth checking out.

Also, Nick Montfort has posted his reflections on the event.

Saturday, March 3, 2012

The First Annual World Palindrome Championship

I've learned that, as part of this year's American Crossword Puzzle Tournament (made famous through the documentary Wordplay), a live palindrome-writing competition is going to be held! Will Shortz will give some constraints on what the palindrome has to be about (presumably preventing the contestants from recycling old work), the contestants will write palindromes for 75 minutes, and the audience will choose the winners.

The contestants will include:
  • Jon Agee, writer of many books of palindromes illustrated with cartoons including Go Hang a Salami! I'm a Lasagna Hog!: and Other Palindromes
  • Martin Clear, who is apparently flying in from Australia to compete and who has definitely written a lot of palindromes. Like these
    Goddesses, bored now, assess a wonder-obsessed dog.

    Some modem telepaths in a Danish tape let me do memos.

    Tim lifted a cat; Elton did not let a cadet film it.
    He has even posted some palindromic poetry.

    But that's not why I'm subscribing to his blog; it's because of this poem:
    Mary had a little RAM
    It’s free space, wired and slow
    And every wire that Mary wet
    That RAM would short and blow.

  • John Connett, professor of biostatistics, writer of these:
    Eva, can I stack Rod’s sad-ass, dork cats in a cave?

    No cab, eh, Ted? I sat up. I put aside the bacon.
  • Nick Montfort who co-wrote 2002: A Palindrome Story, a 2002-word palindrome, written in 2002 (also available as an illustrated book). I know him from his contributions to the interactive fiction community, but he appears to be a professor of writing about interactive fiction and making cool online creative stuff (a field we can always use more professors in).
  • Mark Saltveit, editor of The Palindromist - a magazine dedicated to palindromes (and also a great site where I found out a lot about the world of palindromes.) He also does stand-up comedy about palindromes.

    Pay on time, emit no yap.

    Art, anise, riff of fire: Sinatra.
  • ... and one lucky contestant picked from the audience based on a demonstration of their palindrome prowess.

It's happening March 16th in Brooklyn. It costs $80 to get in the door. See the crossword puzzle tournament site for further details on the schedule.

Once I find out what the winning palindrome is, I will post a follow-up.

UPDATE: I found a soft profile of contestant Mark Saltveit and the World Palindrome Championship.

Tuesday, February 28, 2012

Indie Game: The Movie - a documentary

Last year I wrote a post partially about how great indie video games are, citing as an example the creativity of Jonathan Blow's temporal anomaly of a game, Braid.

Now I've learned that a documentary about such games has been made, and one of the primary interview subjects is Jonathan Blow himself. The documentary is called Indie Game: The Movie, and it focusses on the challenges of independent video-game-making and the passion of the creators. (Fittingly, the documentary itself is also an independent production, made by two filmmakers and funded by Kickstarers and DVD pre-orders.) The film also includes 1) Edmund McMillen and Tommy Refenes, the artist-programmer pair behind the action-based platform game Super Meat Boy 2) and Phil Fish, whose still-to-be-released game Fez involves exploring a 3-dimensional world with a 2-dimensional character. By rotating the perspective in 90 degree increments, new faces of the world become visible, and previously uncrossable gaps in the landscape disappear. You can see it briefly in the Indie Game trailer:


Here is a bonus video illustrating Fez gameplay:


Reviews from its Sundance debut were positive. The current IMDB rating is 9.4.

In March and April, the film will be have one-night screenings in Santa Cruz, San Francisco, Asheville, Seattle, Portland, Palo Alto, Los Angeles, Chicago, and Cambridge (Massachusetts), with another screening Toronto in May. All screenings will include appearances by the filmmakers who will answer questions. The film is also showing at the South By SouthWest Film Festival. See the full schedule for details. The film will later be purchasable from the documentary's official site.


UPDATE: This film is now available for streaming from Netflix in the U.S.

Wednesday, January 18, 2012

Group read-through of "Gödel, Escher, Bach"

Every few decades an unknown author brings out a book of such depth, clarity, range, wit, beauty and originality that it is recognized at once as a major literary event. [This] is such a work.

- Martin Gardner
One summer, long ago, I read the first half of an amazing book called Gödel, Escher, Bach: An Eternal Golden Braid, but then I had to return it to the library, and I never found the time to finish it.

Now I've discovered that a group read-through of "Gödel, Escher, Bach" is being organized through Reddit. It's being run by Rob Speer who has previously taught seminars on this book (and who has read it five times!).

What makes it amazing? It discusses Escher's art, Bach's music, and Gödel's mathematics and ties them all together. It's got puzzles and paradoxes and ponderings about the nature of consciousness. And it is terribly fun. It has a whimsical style evidenced by its wordplay and humor. The author incorporated a wonderful dialogue written by Lewis Carroll called "What the Tortoise Said to Achilles" in which the Tortoise and Achilles have a discussion which illustrates a paradox of logical inference.

Here is how it begins:
Achilles had overtaken the Tortoise, and had seated himself comfortably on its back.

"So you've got to the end of our race-course?" said the Tortoise. "Even though it does consist of an infinite series of distances? I thought some wiseacre or another had proved that the thing couldn't be done?"

"It can be done," said Achilles; "It has been done! Solvitur ambulando. You see, the distances were constantly diminishing; and so—"

"But if they had been constantly increasing?" the Tortoise interrupted. "How then?"

"Then I shouldn't be here," Achilles modestly replied; "and you would have got several times round the world, by this time!"

"You flatter me—flatten, I mean," said the Tortoise; "for you are a heavy weight, and no mistake! Well now, would you like to hear of a race-course, that most people fancy they can get to the end of in two or three steps, while it really consists of an infinite number of distances, each one longer than the previous one?"

"Very much indeed!" said the Grecian warrior, as he drew from his helmet (few Grecian warriors possessed pockets in those days) an enormous note-book and a pencil. "Proceed! And speak slowly, please. Short-hand isn't invented yet!"
He then wrote similar dialogues with the Tortoise and Achilles and other characters to accompany and introduce each of the book's chapters. And these are just a fraction of the things that make this book so great!


The plan is to read the book slowly, over six months (from January to July of 2012), so even if you start a little late, there's plenty of time to catch up. Rob will post insights and discussion threads in the group forum at http://reddit.com/r/GEB.

It is a challenging book, but a rewarding one. If you have ever thought about trying to read it, this is a great opportunity to follow through.