Repository navigation
Unciv 4X on IOS
#15721
Replies: 3 comments 10 replies
|
OK, first of all WOW 0_0 LLMs let you do crazy things |
6 replies
|
Screenshots on here. https://aiart.limited/unciv4x/index.html |
4 replies
|
Opening PRs for these would be very helpful |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Hi everyone 👋
We've just released Unciv 4X for iPhone and iPad, a turn-based 4X strategy game built on Unciv. We wanted to share it here first, because it wouldn't exist without this game and this community.
📱 App Store: https://apps.apple.com/app/id6818719471
💻 Source (MPL-2.0): https://github.com/mami52/unciv4x-core
What it is, and what it isn't
Not a wrapper or a repackage. Unciv 4X is a ground-up native rewrite in Swift with SpriteKit and SwiftUI. It does not run Unciv's Kotlin/LibGDX binary.
Same rules as Unciv. We kept Unciv's rules faithful to Unciv 4.22.1: rulesets, AI decisions, city and unit logic, diplomacy, notifications and texts.
Not an official Unciv release. It is not affiliated with or endorsed by the Unciv project. Yair Morgenstern and the Unciv contributors are credited in the app: tap the line under the logo on the main menu.
How we kept it faithful
Turn-by-turn comparison. We built a harness that plays the same saved games in both engines, our Swift port and Unciv's own desktop build, and compares every turn: cities, units, tech, diplomacy, gold, happiness and the notification stream.
Results. All 24 of our test scenarios currently match Unciv turn for turn over 100 turns. They cover all victory types, both base rulesets, every speed and difficulty, and wrapped, Pangaea, Fractal and Inner Sea maps. Every change to the code has to keep that result before it ships.
Reproducing Unciv exactly. Where Unciv's behaviour depends on JVM details, we reproduced it so games don't drift. This covers HashMap iteration order, Float rounding and the exact comparison order of the JVM's sort.
What's ours
Art and sound. All artwork, icons, the logo, the animated flag-bearing explorer mascot and the sounds are our own. No Civilization assets are used.
Touch-first interface. The interface was redesigned for phones and tablets, while keeping Unciv's screens, information and highlights in the same places.
Uncivlopedia. The built-in encyclopedia covers every unit, building, technology and wonder.
Languages. The game is available in 30 languages, built on the community's translations. Thank you, translators!
Coming soon
Online multiplayer and mod support are in the app but marked "Coming soon" while we finish testing them on iOS.
Source code
In line with MPL-2.0, the parts derived from Unciv, including the Swift port of the game logic, are published at https://github.com/mami52/unciv4x-core. Bug reports and comparisons with Unciv's behaviour are very welcome. If you find a turn where Unciv 4X plays differently from Unciv, that's a bug for us.
A huge thank-you to Yair and every Unciv contributor for building something worth porting. We hope Unciv 4X brings the game to more players on iOS. 🏛️
All reactions