← All projects · iOS Apps
SAM's Arena
Multiplayer turn-based 3D fighting game for iOS
- TestFlight beta
Last updated October 2026





Overview
SAM’s Arena (code name FuFight) is a multiplayer turn-based 3D fighting game for iOS. Every round, both players pick one attack and one defense at the same time without seeing each other’s picks. The faster fighter swings first, and speed, cooldowns and dodges decide who lands the hit. I started it in February 2024 as my iOnlyCode work and I’m still building it. You can try it now on TestFlight.

Features
- Online fights against real players, casual or ranked, plus offline fights against bots with different difficulty levels
- 3 attack strengths (light, medium, hard) that land left or right, and defenses that dodge, speed you up or soak damage
- Speed boost for whoever lands a hit, and a fire state that adds damage when you land boostable attacks in a row
- Every move has a cooldown measured in rounds
- A roster of 3D fighters you buy with coins and diamonds, and moves you level up
- Match history with the details of every round
- Global chat, and in game chat (the offline bot talks trash every round)
- Seasons that change with the date and rotate which fighters are available
- Daily, weekly and season missions with rewards
- Leaderboards
- Friends list
- Music and sound effects with volume settings
- A short tutorial
- Sign in as a guest, with Game Center, or with email or username and password
Technologies
- Swift
- 3D models and animations from Adobe’s Mixamo, exported as Collada (.dae) files
- Firebase
- Firestore for data, with
@DocumentID,@ServerTimestampand@FirestoreQuery - Authentication (guest, email and Game Center)
- Storage for profile pictures and files
- Cloud Functions in TypeScript for admin tools and scheduled account cleanup
- Crashlytics
- Firestore for data, with
- Python and Automator for getting Mixamo files into Xcode
- Fastlane for TestFlight and App Store releases
How it’s built
Milestones
- Feb 2024: first commit. Account creation, log in with email or username, profile pictures, editing and deleting accounts
- Mar 2024: the first playable game. Round timer, offline fights, attack and defense logic, damage boost, then the first 3D fighters
- Apr to May 2024: fighter animations. I tested Mixamo animations one by one for each fighter
- May to Jun 2024: online multiplayer. Rooms, a matchmaking queue, and both players uploading and downloading their picks
- Jun 2024: Python scripts to import Mixamo characters and animations
- Jul 2024: new Home screen, friends list, casual and ranked games, coins and diamonds, buying fighters
- Sep 2024: match history, music and sound effects
- Oct 2024: prepared the first TestFlight build, then added global chat, a tutorial, in game chat and seasons
- Nov 2024: missions
- Dec 2024: leaderboards
- Feb 2025: bot difficulty levels, and a disconnected result for games where someone leaves
- Jun to Jul 2025: leveling up moves costs coins or diamonds
- Oct 2025: guest and Game Center sign in
- Mar 2026: auto forfeit when a player leaves mid fight
- May 2026: game resumption after disconnects and force quits
- Jul 2026: release automation with Fastlane, first release through it (v1.0.1 build 2) and Game Center entitlement
- Aug 2026: App Store listing and privacy policy draft
- Oct 2026: moved all the fight rules into one pure Swift
FightEngine
Scripts and tools I made
- mixamoChractersToXcode.py: unzips characters downloaded from Mixamo, renames their folders and textures, creates the animation folders, fixes the .dae file so it points to the renamed assets, and runs the ConvertToXcodeCollada workflow. After that I just drag the fighter’s folder into Xcode.
- mixamoAnimToXcode.py: does the same for animations. Pass it a zip (and an optional new name) or a whole folder of zips.
- ConvertToXcodeCollada: an Automator workflow that rewrites a Mixamo .dae file so its animation plays in Xcode.
- filesRenamer.py and Logger.py: small helpers for renaming files and logging from the scripts.
- release.sh: asks for the version, writes a changelog from the commits, then runs a Fastlane lane that archives, signs and uploads to TestFlight. When it works it commits, tags and pushes.
- Cloud Functions: admin tools to delete old accounts in batches or force delete one account, and scheduled jobs that clean up deleted accounts every week and inactive guest accounts every two weeks.
- Dev settings and tests: debug settings to simulate wins, losses and draws, a launch argument that starts a bot fight right away, and scripted fight tests.
Decisions
- Lockstep online play. Each player writes only their own picks to Firestore, and both devices resolve the round. It works because the result is the same for the same picks, and only one fighter can hold the speed boost, so ties always break the same way.
- Auto forfeit instead of resuming. I planned to resume games after a disconnect, but it was too much complexity. Now a player’s picks upload when the app goes to the background. If they left without picking, the other player wins by forfeit.
- One fight engine. The rules used to live inside a 1,000 line view model mixed with animations, sounds and networking. Now
FightEngineworks out the whole round before anything animates, so animation timing can’t change a result. It’s also what an iMessage version will use later. - Build numbers come from App Store Connect. I work out of several git worktrees, so the release script asks App Store Connect for the latest build number instead of trusting the local project file.
- Keep the view model inheritance. I designed it that way on purpose. New code uses
@Observable, and I only move a screen over when I’m rewriting it anyway.