Open-source Android/Desktop remake of Civ V
Go to file
WhoIsJohannes f4dca2281e
Add Replay feature in VictoryScreen (#8844)
* Add Replay feature in VictoryScreen.

* Add Replay feature in VictoryScreen.

* Support for i18n

* Extract year to text conversion into common util to be used from VictoryScreen.kt and WorldScreenTopBar.kt

* Remove ReplayMapTile and modify MinimapTile so that it can support both use cases.

* Reuse code for spreading out tiles onto tile layer between Minimap and ReplayMap by factoring it out into a new MinimapTileUtil

* Revert "Reuse code for spreading out tiles onto tile layer between Minimap and ReplayMap by factoring it out into a new MinimapTileUtil"

This reverts commit d4cddb4312.

* Add Replay feature in VictoryScreen.

* Add Replay feature in VictoryScreen.

* Support for i18n

* Extract year to text conversion into common util to be used from VictoryScreen.kt and WorldScreenTopBar.kt

* Remove ReplayMapTile and modify MinimapTile so that it can support both use cases.

* Revert some unintentional indentation changes

* Refactor some common logic of Minimap and ReplayMap into MinimapTileUtil

* Slightly increase ReplayMap size and simplify logic to calculate tile size since input is static.

* Indentation again... :|

* Unify isCityCenter & isCapital into an enum in TileHistory and shorten identifiers

* Use city.getTiles() instead of city.tiles in CityInfoConquestFunctions.kt

* Improve tileSize calculation in ReplayMap.kt

* Remove extra padding in VictoryScreen -> Replay to prevent WorldScreenTopBar from acting up on the next turn.

* Make return value of MinimapTileUtil.spreadOutMinimapTiles more useful to callers

* Cancel Replay timer when VictoryScreen is disposed or when Replay is opened again.

* Cancel replay map timer task whenever tab is switched in VictoryScreen

* Improve serialization for TileHistory by using a custom serializer. This removes the need for holding two copies of the same thing and to use String based keys.

* Add backwards compatibility for replay. The replay will start at the turn where it came into play.

* Remove debugging code :|

* Use gameInfo field rather than going throug the global UncivGame...
2023-03-12 19:59:48 +02:00
.github Matrix build and deploy *only* for tags 2023-03-11 21:39:51 +02:00
.idea/inspectionProfiles
android Add Replay feature in VictoryScreen (#8844) 2023-03-12 19:59:48 +02:00
buildSrc Version rollout (#8867) 2023-03-11 20:29:00 +02:00
core Add Replay feature in VictoryScreen (#8844) 2023-03-12 19:59:48 +02:00
desktop Split itch upload to separate job - test4 2023-03-07 21:54:41 +02:00
docs 4.5.6 2023-03-11 20:37:35 +02:00
extraImages
fastlane/metadata/android 4.5.6 2023-03-11 20:37:35 +02:00
gradle/wrapper Gradle update, offerButton.isEnabled = false in initial (#8600) 2023-02-06 14:21:46 +02:00
ios
server Fixed setPassword body is compressed (#8790) 2023-03-02 20:26:07 +02:00
site
tests Cleaning: platform specifics and UncivGame (#8773) 2023-02-28 18:56:57 +02:00
.dockerignore
.editorconfig
.gitattributes
.gitignore Pangaea maps are always largely land connected 2023-01-23 00:52:40 +02:00
build.gradle.kts Extended CI with various extra tests, added Java 17 support in unit tests (fixes #8835) (#8839) 2023-03-08 16:39:32 +02:00
changelog.md 4.5.6 2023-03-11 20:37:35 +02:00
debug.keystore
docker-compose.yml
Dockerfile
gradle.properties
gradlew
gradlew.bat
keystore.jks
LICENSE
mkdocs.yml
README.md Added Macports badge 2023-02-19 16:52:25 +02:00
settings.gradle.kts

Unciv - Civ V remake for Android & Desktop

Google Play F-Droid itch.io Flathub AUR pi-apps
macport

Build and deploy Discord

What is this?

An open source, mod-friendly Android and Desktop remake of Civ V, made with LibGDX

Is this any good?

Depends what you're looking for. If you're in the market for high-res graphics, amazing soundtracks, animations etc, I highly recommend Firaxis's Civ-V-like game, "Civilization V".

If you want a small, fast, moddable, FOSS, in-depth 4X that can still run on a potato, you've come to the right place :)

What's the roadmap?

In this order:

  • Polish! As you may have noticed, Unciv is fully functional but rough around the edges. This means:
  • Finishing off Vanilla mechanics - mostly done!
  • G&K mechanics - espionage, small other changes (see #4697)
  • BNW mechanics - trade routes, world congress, etc.

Contributing

How can I help?

Programmers start here!

Translators start here!

Modders start here!

You can join us in any of the open issue, or work on improving anything you want - once you're finished, issue a pull request and it'll go into the next version!

If not, you can help by spreading the word - vote for Unciv where you can, mention it on Reddit or Twitter etc, and help us with new ideas of how to get the word out!

FAQ

Will you implement {feature}?

If it's in the original Civ V, then yes!

There's a lot left to implement, so it's hard to give an estimation of when exactly each feature will be added, but we're constantly improving!

If not, then the feature won't be added until we've finished all the features from the original Civ - as mentioned, this will take a while!

Why not? This is its own game, why not add features that weren't in Civ V?

Having a clear vision is important for actually getting things done.

Anyone can make a suggestion. Not all are good, viable, or simple. Not many can actually implement stuff.

As an open source project, this stuff is done in our spare time, of which there isn't much.

We need a clear-cut criteria to decide what to work on and what not to work on.

Will you implement Civ VI?

Considering how long it took to get this far, no.

Is there a desktop version?

Yes! Windows and Linux versions are available at itch.io, and if you're using the Itch app, your game will stay up-to-date - and we release pretty frequently so that's an issue ;)

Unciv can also be installed on macOS, a guide on how to do that can be found here.

If you have Java 8, and are familiar with the command line, there are (considerably smaller) JARs in Releases which you can run with java -jar Unciv.jar.

If you use Flatpaks, there's a Flatpak by MayeulC and you can know more about it here. Flathub link is available in the Downloads section.

If you want to build it from scratch for some reason, we have instructions for that as well

How about IOS?

I'm not planning on it.

It means paying money to Apple, yet another release path, and since I don't have an IOS device it means I can't test it properly.

How can I learn to play? Where's the wiki?

All the tutorial information is available in-game at menu > civilopedia > tutorials

All the information is included in the amazing Civ V wiki

Since this is a Civ V clone, you can search Google for how to play Civ V and there are loads of answers =)

Alternatively, you could join us on Discord and ask there =D

This is a subject that I've heard a lot of hearsay on but no solid sources of law.

From what I gather, it is illegal:

  • To use the Civilization name
  • To impersonate the Civ games (so calling yourself civi|zation with a similar logo, for instance)
  • To use any assets from the original game (images, sound etc) - they belong to Firaxis

From what I understand, intellectual property rights apply to names, characters and settings. They do not apply to mechanics - as I'm sure you know, there are a billion Flappy Bird knockoffs

If anyone has any real legal sources, or can shed some light on the limits of what is and is not allowed, I'd be happy to hear!

Downloads

Run with Docker

If you have docker and docker-compose installed, you can:

And if you are using docker desktop:

Credits and 3rd parties