Amakin used ViroReact to open time portals across Rabat

Reda Beggari had one week, one phone and one idea: turn his city into a game. He built Amakin: City Game, a location-based AR game that opens time portals at Rabat's landmarks, on ViroReact and Expo, and won Grand Winner and Best Geospatial AR at Ctrl+Space.

AmakinBuilt withReactVision
An ornate augmented reality time portal ringed with sparkles stands on the paved street outside the Kasbah of the Oudayas in Rabat, with a glimpse of a historic interior inside it.

Builder
Reda BeggariSolo developer, Rabat
Company
NEXDIGIXAI and software consulting
Built with
ViroReact + ExpoOne React Native codebase
Result
Grand WinnerCtrl+Space, plus Best Geospatial AR
The story

A childhood dream, built in one week

Reda is an entrepreneur and software engineer from Rabat, with more than 14 years of building software in Morocco and France. He founded his company, NEXDIGIX, to offer AI and software consulting, “but above all to build something of my own.”

Ctrl+Space, the hackathon run by ReactVision and Expo, came at the right moment. “It was the perfect reason to create a new game at the Kasbah of the Oudayas, with a brand-new codebase,” Reda says. “As the rules ask, my entry disclosed what came before.”

Amakin brings tourism, gaming and culture together in Morocco, Africa's most visited country in 2025, with nearly 20 million visitors that year. SMIT Morocco (Tourism Engineering and Investment) believed in the project and chose to support it.

"Making a game is a childhood dream. A game is more than an app. It's a work of art, made of a story, visuals, sound, and a piece of yourself."
Reda BeggariReda BeggariFounder, NEXDIGIX, and creator of Amakin
The challenge

Making heritage something you live

Amakin's story screen on iPhone, with the golden portal emblem above the game's story text and an Enter button.
The story screen sets the goal: cross the portal, solve what waits there, find the key and close it behind you.

Rabat packs two thousand years of history into a few kilometres: the ancient ruins of the Chellah, the Kasbah of the Oudayas, the Hassan Tower and the medina, all part of a UNESCO World Heritage Site since 2012. Reda wanted people to experience those places, not just read about them.

“A guidebook tells you about a place; a game gives you a reason to go there, and to come back,” he explains. “People protect what they love, and they love what they have lived.”

That meant the game had to happen in the real city. “Most games ask you to look away from the world; Amakin asks you to look at it.” It also had to be built fast, by one person, during the Ctrl+Space build week.

The build

Portals, 360° worlds and physics with ViroReact

Mission screen for the Kasbah of the Oudayas showing a 10-minute, medium-difficulty on-site mission, a short briefing and five steps under How it plays, with a Find the portal button.
A mission briefing at the Kasbah of the Oudayas, played on site.

Amakin turns the city into an adventure played on foot. Time portals open at landmarks and meaningful places, and crossing one reveals the heritage behind it. It is built for locals who want to see their city with new eyes and for visitors who want more than a tour.

Under the hood, Amakin uses:

  • ViroPortal and an inward-facing ViroSphere for the walk-through portals and 360° worlds
  • GLB models, physics and particles for the puzzles inside each portal
  • Light estimation to read the player's surroundings
  • Expo for a single codebase, with custom Swift modules through the Expo Modules API, haptics on every part that snaps into place, and EAS for builds, over-the-air updates and monitoring with EAS Observe
A 3D riad courtyard inside the portal with brass gears and a water machine, and the objective Bring the water back to the fountain.
Inside the portal, repair the riad's water machine...
A misty riad courtyard with a fountain and lanterns, and the objective to find the key hidden in the mist with a gold canister.
...then find the key hidden in the mist.
"It started with a portal and a 360° scene. Then came the surprise: objects inside could fall, roll and collide like real ones, and players could grab and build with them. I knew I had my game."
Reda BeggariReda BeggariFounder, NEXDIGIX, and creator of Amakin
The standout idea

A key you can only see from one spot

Golden points float in a misty 360-degree riad scene and line up into the outline of a key, with the instruction to find the one spot where the points form the key.
The anamorphic key only takes shape from one spot, so players have to move to find it.

One standout idea came from anamorphosis, the old art of images that only appear from a single point of view. In Amakin it became the seal that closes each portal, which players find by moving through real space. “That's what no flat screen can do: make the real world part of the challenge.”

Reda builds with AI tools at every step. Claude Code is his coding agent, and ReactVision's ViroReact MCP server checks every component. Screens, artwork, 3D models and 360° worlds are produced with a mix of design, image and Blender MCP tools, with a backend built on API Platform, PostgreSQL and Docker.

Solving the hardest problem: the dark

On iPhone, ARKit tracking weakens in low light, and a drifting portal breaks the game. Because ViroReact already estimates the light around the player, Reda wrote a native Swift module with the Expo Modules API that switches on the torch when light gets too low. To check whether it is still dark, the game turns the torch off for under a second, measures the real light and turns it back on if needed. The torch button only appears in the dark, and players can always take over.

The results

Grand Winner and Best Geospatial AR

Amakin won Grand Winner and Best Geospatial AR at Ctrl+Space. The judges were clear about why.

From the judges

“One of the most complete uses of Portals I've seen someone share. I loved how they were utilised within this game... the overall app felt very polished and near releasable. Technically speaking, ViroReact's implementation here is excellent.”

Passage closed screen for the Kasbah of the Oudayas showing a time of 0:52, first place on the board and a star rating.
Closing the passage earns a time and a place on the leaderboard...
Protected screen with a Kasbah of the Oudayas postcard added to the album, a relic called The water machine and Hassan Tower as the next stop on the route.
...and a postcard for the album.

Another judge praised the smooth interaction after entering the portal and details such as sound, and suggested moving navigation to Expo Router or React Navigation. Reda already had that on his list, and the latest version is built on Expo Router. Since the win he has also added a home-screen widget showing the day's portal and the player's streak, a Live Activity that follows each crossing in the Dynamic Island and on the Lock Screen, analytics with EAS Observe and PostHog, and a shader that brings the sea to life in a daily portal's 360° view.

Support has come from outside the competition too. SMIT Morocco (Tourism Engineering and Investment) chose to back the project, and the waitlist for the public beta is now live at amakin.ma.

"That's what a competition like Ctrl+Space gives you beyond the win: advice from the people who build ViroReact and Expo. It's what I value most."
Reda BeggariReda BeggariFounder, NEXDIGIX, and creator of Amakin
What's next

From Rabat to anywhere

A public beta is coming soon on iPhone, followed by Android. Its first players will help shape new features and missions. The story never names a city, so Amakin can open anywhere, in Morocco and beyond.

On the technical side, Reda plans to add geospatial anchors to pin each portal to real-world coordinates, recorded environments in ReactVision Spatial to test scenes from his desk, and co-location so two players in the same place can share a portal. Through Amakin Studio, his B2B arm, brands, destinations and events will be able to open time portals of their own. With ViroReact 3 running on Meta Quest, Vision Pro and the web, he also sees a link that opens a portal for a campaign, and AR glasses as “the natural home of a game played on foot.”

The amakin.ma home page with the headline Time portals are hidden in the city, a Join the waitlist button, the Ctrl+Space winner badge and the SMIT Morocco Supported by logo.
amakin.ma, where players can join the waitlist for the public beta.
"Start from a need, not from the technology. AR is worth it when it gives people something a screen alone can't. With React Native and an AI agent, one developer can now ship what used to take a studio."
Reda BeggariReda BeggariFounder, NEXDIGIX, and creator of Amakin
Amakin
Amakin: City Game

Time portals are hidden in the city. Join the waitlist for the public beta, coming soon on iPhone and Android.

Building a location-based AR game?

ReactVision gives React Native developers portals, physics, light estimation and geospatial AR from one codebase. No game engine required.