Skip to main content

Composing Behavior: What Games Teach Us About Software Architecture

· 5 min read
Osamah Alghanmi
Co-Founder & Technical Lead

In the game Iram, players collect Orbital Shards — fragments of behavior that snap together to create new abilities. Equip Defend and Mend together, and your shields heal 1.5x faster. Equip Disrupt and Fabricate, and your traps deal area damage.

This isn't just a game mechanic. It's a software architecture pattern that solves the microservices vs monolith debate.

Recent Posts

Finite State Machines: The Most Underused Design Pattern in Frontend Development

· 5 min read
Osamah Alghanmi
Co-Founder & Technical Lead

If you're using useState for complex UI, you're probably doing it wrong. There's a 50-year-old solution you're ignoring.

Recent Posts

The IKEA Effect for Software: Why We Built Apps from Flat-Packs

· 4 min read
Osamah Alghanmi
Co-Founder & Technical Lead

IKEA revolutionized furniture by making it composable, flat-packed, and assembly-friendly. What if software worked the same way?

Recent Posts

JSON That Thinks: How We Built a Turing-Complete Language Inside JSON

· 6 min read
Osamah Alghanmi
Co-Founder & Technical Lead

What if JSON could express logic, not just data? What if your configuration files could make decisions?

We built a Turing-complete programming language that's a strict subset of JSON. No new syntax. No custom parser. Every Almadar program is valid JSON.

Here's why — and how.

Recent Posts

Learning from Interruptions: How Our AI Remembers Your Preferences (Without Being Creepy)

· 5 min read
Osamah Alghanmi
Co-Founder & Technical Lead

Every time you approve or reject an AI's action, it learns. After 5 approvals, that action happens automatically.

Recent Posts

One Schema, Five Apps: How We Built a Government Tool, an AI Platform, and Two Games with the Same Language

· 15 min read
Almadar Team
The Almadar Team

A government inspection system. An AI learning platform. A personal fitness tracker. A tactical strategy game. A 3D dungeon crawler.

Five applications. Five completely different domains. One language.

Here's how — and why it matters.

Recent Posts

From 10,000 Lines to 200: The Real Cost of Boilerplate

· 7 min read
Osamah Alghanmi
Co-Founder & Technical Lead

You want to build a task manager. Simple CRUD: create, read, update, delete.

The traditional way: 10,000 lines across 50+ files. The Almadar way: 200 lines in one file.

This isn't a theoretical comparison. Let's count.

Recent Posts

S-Expressions: The JSON of Functional Programming (That Actually Makes Sense)

· 4 min read
Osamah Alghanmi
Co-Founder & Technical Lead

S-Expressions, JSON, and the Functional Renaissance

Why we chose Lisp-style S-expressions over JSON for logic definition, and why you might too.

Everyone loves JSON, but when you need logic, you end up with string templates or JavaScript. What if your data format was your logic format?

Recent Posts