Lessons Building a Magic Square Tic-Tac-Toe AI

Posted on 28th May 2018 by Ryan Somma in Geeking Out
Magic Square Tic Tac Toe

Magic Square Tic Tac Toe

Introduction

Adding to my expanding collection of Explorable Explanations (EEs), I’ve been interested in isomorphs of various board games. For example, the game Snakes and Ladders / Chutes and Ladders (a game with zero player agency originally intended to teach Hindu children the concepts of karma and destiny), can be played with just a six-sided dice and some rules:

  1. Each player takes turns rolling the dice. Starting at zero, they add each role to their score.
  2. If a player’s score is any of the following, change it according to this chart:
    Value New Value Value New Value
    1 38 48 26
    4 14 49 11
    9 31 56 53
    21 42 63 19
    28 84 64 60
    36 44 92 73
    51 67 95 76
    71 91 98 78
    80 100    
  3. The first player to reach 100 wins.

[Continue Reading…]

Makers: A Creative Commons Licensed Sitcom About a Nerdy Family

Posted on 23rd April 2018 by Ryan Somma in Creative Commons Works,Geeking Out

In 2016, I was notified by a friend of a new partnership between Google and The Black List to give grants to screenplays promoting diversity and challenging nerd stereotypes in film. There were articles about it referencing the Computer Science Education in Media program run by Julie Ann Crommett at Google.

So I spent a month writing up something I was excited about. Makers is a family-friendly sitcom that follows the Glasper’s, a family comprised of two geeky, parents who work as software developers. Nef, a mother of African American descent, telecommutes on various IT contracts from her highly-unprofitable makerspace/gaming shop that has been in the red for so long the IRS has made her downgrade it from a business to a hobby. Zack, the father, works in Laboratory Information Management systems, and is a heavy gamer off-hours. They have two young children, Sagan and Ada, named for Carl Sagan and Ada Lovelace. The episodes were to center around modern first-world nerd problems: torrenting, gamer trolls, H1B1 ethics, generational conflicts over technology, code-switching, and gaming addiction.

[Continue Reading…]

Comments Off on Makers: A Creative Commons Licensed Sitcom About a Nerdy Family

Future Forgers: A Creative Commons LARP for Kids and Parents

Posted on 19th March 2018 by Ryan Somma in Creative Commons Works,Enlightenment Warrior
Tower of Board Games

CC-Licensed Artwork by Posthuman Studios:
“Neo-Porpoise Morph” by Jessada Sutthi
“Salamander Morph” by Silver Saaramael
“Infomorph Mercurial Investigator” by Daniel Clarke
“Flying Squid” by Joe Wilson
“Basic Pod” by James Mosingo
“Crasher Morph” by Jose Cabrera
“Menton Morph Brinker Genehacker” by Daniel Clarke

At this moment 7.5 billion human neocortexes are experiencing a world filled with technologies not even imagined just a century ago. Airplanes, roads, and the Internet make our world geographically smaller, but experientially larger. There are people living in space and circling the Earth every 90 minutes. There are hundreds of millions of people exploring virtual worlds on ome computers and game consoles. Advances in medicine and health education are extending our lifespans decades beyond that of our ancestors. The World Wide Web puts the sum total of all human knowledge at our fingertips.

[Continue Reading…]

Comments Off on Future Forgers: A Creative Commons LARP for Kids and Parents

The Long Con: Board Games for Young Children

Posted on 19th February 2018 by Ryan Somma in Geeking Out
Tower of Board Games

Tower of Board Games

An online friend started a board gaming club at his elementary school. Occassionally, he posts pictures of the free games companies send him. Other times he posts photos of his students engaged in play. I asked him about the games and what it was like teaching children so young board games.

“We have good and bad days, but we stick to it and try different things,” he told me. “It’s all about the long-con.”

In a world of easy entertainment like movies and dazzling entertainment like video games, I’m overjoyed to see boardgames surging in popularity in America. I’m glad to see adults embracing “child’s play” as a means of cultivating mental plasticity. Games keep our minds young by challenging us and prompting us to think in unusual ways.

Plato recognized the importance of gaming in childhood when he said, “[I]f a boy is to be a good farmer or a good builder, he should play at building toy houses or at farming and be provided by his tutor with miniature tools modelled on real ones… One should see games as a means of directing children’s tastes and inclinations to the role they will fulfill as adults.” I also see immense potential for gaming in education. I’m not talking about gamified education, which involves skinner-box methods of hooking children into learning for rewards, but rather game-based learning, which means using actual game play to teach and explore concepts.

Here’s what I’ve learned from a few years of playing board games with my young boys.

[Continue Reading…]

Comments Off on The Long Con: Board Games for Young Children

Celebrating 50 Years of Humanism in Star Trek

Posted on 19th January 2018 by Ryan Somma in Enlightenment Warrior

The following is the full-length version of a shorter commentary I wrote for The Humanist in 2016. The version at the link has the benefit of editorial oversight and fact-checking. This version is the messier director’s cut:

Optimism for the Future

Optimism for the Future

It feels like we live in a culture where movie and television studios are perpetually finding ways to make stories darker. It’s a pop culture where viewers tune in for their weekly dose of misery on The Walking Dead, depravity on Game of Thrones, and where even classic children’s heroes like Batman and Superman are portrayed as mass-murdering vigilantes in Dawn of Justice. Comic book and science fiction fans have even coined the term “grimdark” to describe this apparent one-upmanship of doom and gloom constantly barraging us.

In contrast, through five decades and across three generations the Star Trek universe has remained positive, philosophical, and moral. Star Trek portrays a society built on Enlightenment virtues and embodies what a humanist future might look like. With six television series totaling 716 episodes across 30 seasons, 70 million books in print, over 40 video games, a new television series in the works, and this summer marking its 13th feature film, Star Trek endures because there is nothing like it in American media: a positive vision of humanity’s future based on rationality, science, and human-improvability.

[Continue Reading…]

Comments Off on Celebrating 50 Years of Humanism in Star Trek

Arduino Time Zone Portal LED Project

Posted on 27th February 2016 by Ryan Somma in Geeking Out
Bally Time Zone / Space Time Pinball Backglass

Bally Time Zone / Space Time Pinball Backglass

Photograph by Matthew Allison

Introduction

I recently became interested in arcade history. Pinball history is particularly fascinating for the way inventors have come up with so many mechanical innovations over the years. From the first springer launch to the first speaking pinball to incorporating a wide variety of illusions, pinball remains something that simply can’t be replaced with virtual versions.

While investgating a 1972 Bally Time Zone pinball machine (also known as Space Time), I found an innovation that screamed 1970s. Check out the “portal” in the bottom center of this video:

Unable to fit an entire pinball machine in my home, I went for attempting to replicate this one part. With the popularity of the Maker Movement and easy-electronics development with the arduino, I decided to see how quickly I could replicate this piece with LED lights.

[Continue Reading…]

Comments Off on Arduino Time Zone Portal LED Project

A Tale of Two AI’s: “Her” VS “Ex Machina”

Posted on 7th June 2015 by Ryan Somma in Mediaphilism
Ex Machina
Ex Machina

Human beings have speculated about Artificial Intelligence for over 2,000 years, our fantasies evolving as our technology evolves. More recent films, like Steven Spielberg and Stanley Kubrick’s A.I., Ridley Scott’s Blade Runner, and George Lucas’ THX-1138 all tackle the hard questions and present insightful ways of looking at the issue. Most recently, I was wowed by the Alex Garland’s Ex Machina, a film about an AI undergoing the turing test, where the consequence of failing means that intelligence being turned off and discarded. It had me revisiting another recent film about AI, Spike Jonez’s’ Her, a film that left me disappointed and frustrated, and I thought it would be useful to compare and contrast the two films to articulate why one worked and the other didn’t.

This post assumes you have seen both films. Spoilers abound.

[Continue Reading…]

Comments Off on A Tale of Two AI’s: “Her” VS “Ex Machina”

Celebrating the Winter Solstice at The Humanist

Posted on 20th December 2014 by Ryan Somma in Ionian Enchantment
Winter Solstice Article in The Humanist
Winter Solstice Article in The Humanist

The Humanist has posted my celebration of the Winter Solstice, the annual cosmological event around which almost all of the season’s holidays orbit, in the article The Darkest Day: A Quintessentially Humanist Celebration.

Here’s a sample:

The winter solstice connects me to Galileo, who revealed humanity’s true relationship to the Sun, usurped our place at the center of the universe, and was among the myriad revolutionary intellects that ushered in the Enlightenment. Those rational minds set humanity on the path of scientific and cultural progress to which we owe all our technological conveniences, modern egalitarianism, and a quality of life that would appear magical to all the generations before us. Every day our news is filled with the scientific discoveries of their philosophical descendants, always further resolving our understanding of our place in the cosmos.

And so the most significant yearly event in human history, the one upon which all other major winter holidays are founded, is quintessentially humanist. Before our ancestors began seeing “fairies in the garden,” as Douglas Adam describes it, and added religious layers over the solstice, they simply looked out over the dawn horizon and saw the Sun rise over a particular mountaintop or tree and knew it was going to start climbing north again. And that gave them hope.

Comments Off on Celebrating the Winter Solstice at The Humanist

Nicolas de Condorcet’s “Progress of the Human Mind”

Posted on 2nd November 2014 by Ryan Somma in Enlightenment Warrior,Mediaphilism
Marquis de Condorcet Quote

It frustrates me bitterly that the works of the Enlightenment are almost forgotten in America’s universities. Science classes ignore them because scientists must focus on the most current understanding of our world. Humanities classes ignore them because the Age of Enlightenment, with its rationality and empiricism, is seen as the oppressor of creative expression.

But we owe so much to this age, which abolished god-appointed kings, established the sciences that so dramatically improved our quality of life, and brought forth the rational radical ideas of equality and human rights. The Enlightenment is the foundation for humanism, and I think everyone should celebrate the myriad brilliant works of the revolutionary minds who contributed to it.

[Continue Reading…]

Number Spiral Mandalas with HTML Canvas

Posted on 21st July 2014 by Ryan Somma in Geeking Out
HTML Canvas 12-times Spiral
12-Spiral in HTML Canvas
(Primes highlighted in red)

Mathematics is about exploration, not the rote memorization of algortithms. It’s about finding patterns, appreciating how numbers relate to one another. That’s why I love programming. Much of writing code involves experimentation with mathematics, tweeking a variable to see what comes out of a complex function. It’s wonderful when a program doesn’t give you the answer you designed it to; that means you are about to learn something.

I was really inspired by this post on Moebius Noodles about Joey Grether, who creates spiraling artwork with the number 12 that seeks patterns in the lines of numbers radiating out from the center. Reminiscent of Ulam’s Spiral, building a spiral around a clock, with 12-segments in the rotation, puts multiples of 3 at {3,6,9,12} o’clock, multiples of 4 at {4,8,12} o’clock, multiples of 2 at {2,4,6,8,10,12} o’clock, and primes at {1,5,7,11}.

[Continue Reading…]

Comments Off on Number Spiral Mandalas with HTML Canvas