Mario Ruiz Sánchez · Senior Software Engineer in Reykjavík

Experiments

Games that have stayed with me since I was a kid, simulators, and other experiments I make for play. The engineering work stays on the home page.

Read-only Model Context Protocol server over Streamable HTTP (/mcp/cv) exposing Mario's CV, systems, RubyGems, blog posts, and role matching for Claude, ChatGPT, Cursor, and VS Code.

Read-only Model Context Protocol server over Streamable HTTP (/mcp/iceland) with 36 tools covering Veðurstofa Íslands, Vegagerðin, Gasvaktin (MIT), OpenStreetMap (ODbL), City of Reykjavík, Veitur, SORPA, Borgarbókasafn, UST/LMÍ trails, ski areas, pools, news RSS headlines, events, and cinema with https booking links.

Attention

AI & Code

See which word a sentence looks at when the context shifts. Scaled dot-product attention in English, Spanish, and Icelandic, running live in the browser.

Poem to code

AI & Code

Write a few lines and read them as a small function in JavaScript, Python, Ruby, or Go, or paste a snippet and read it as free verse.

The meter of code

AI & Code

Paste a snippet and see its rhythm: line length, indent, repetition, and a name for the meter.

Population

Simulations

A population simulator. Pick a start year and load an official estimate for the world or a country. Choose a projection algorithm and add demographic shocks. The run is not an official forecast.

At university I fell in love with statistics and probability.

Coast

Simulations

A coast simulator. Each visit draws hills, shore, rivers, and forest. The year plate shows the people in the drawing; later years bring roads, taller buildings, and services.

Contagion

Simulations

A simulator. Two squares, same people. A few start ill. The other square has people already safe. Age shows as size. The wave crosses both.

Triangle

Games

Join two points. Whoever closes a triangle in their own color loses.

Cantera

GamesOnline

Falling blocks. Clear a row. High scores stay in this browser. You can also play online with someone else.

It was the first game the whole world played. We all played it on arcade machines.

Kiln

Games

A brick game. The first screen is a plain wall. Later screens change shape; some bricks take more hits, and a few never break. Arrow keys on a computer; on a phone the paddle follows your finger. Best scores stay in this browser.

The Snake

Games

A short crawling game. Arrow keys on a laptop; swipe or on-screen buttons on a phone.

We all played it on a Nokia. It was the first game that really hooked people on a phone.

Bantumi

GamesOnline

A mancala for one or two players. Sow into your store for another turn, or face a friend on the same keyboard. You can also play online with someone else.

I had it on a Nokia and spent the 45 minutes on the metro, on the way to work in Madrid, playing.

Parchís

GamesOnline

The parchís of my childhood. Up to four can play online, or on the same keyboard.

Viking

Games

A Dragon-era village ledger. Land, grain, ferrets, and another year.

The Dragon was my first computer. As a child the whole family played Viking from cassette; for me it was the start of everything.

Viking II

Games

The 1984 sequel. Same year loop, with ships, markets, armories, temples, and the hall.

Pacman

Games

A maze game. Eat the dots. Six or more big dots flip the hunt. Four chasers hunt you. Later screens add a coin, a cherry, a pineapple, bombs, and oil. Arrow keys on a laptop; on a phone, the on-screen arrows or swipe. Best twenty stay in this browser, with time and screen.

Another classic I played from when I was very young.