Open-source Android/Desktop remake of Civ V
Go to file
Oskar Niesen cc1624604e
AI diplomatic actions rework (#10071)
* AI now can offer declaration of friendship

* AI now offers open borders

* Added spectator notifications for DoFs and defensive pacts

* AI now wants friendship less as more Civs die

* Re-added spectator notifications that weren't added in the merge

* Replaced min with coerceAtLeast

* Replaced .filter and .count() with .count

* Removed some minus DoF motivation modifiers being in a military focus.

* Fixed AI offering open borders with City-States

* AI now signs defensive pacts

* Increased motivationToAttack weight when determining value of a declaration of friendship

* Removed double trade processing and notifications from Treaties

* Removed commented code

* Added wantsToSignDefensivePact

* Added defensive pact trade evaluation

* Revert "Removed commented code"

This reverts commit 6476a08d26.

* Revert "Removed double trade processing and notifications from Treaties"

This reverts commit 371e8e8a62.

* Changed wantsToSignDefensivePact to use a for loop

* Changed chance to consider offering a defensive pact back to 30%

* Added DeclinedOpenBordersFlag

* Added DeclinedDeclarationOfFriendshipFlag

* Civ AI now has a positive modifier when friends with under 1/4 of alive Civs

* AI values friendship based also on relative strength

* Changed AI valueing of a defensive pact

* AIs not use DeclinedDeclarationOfFriendship flag

* Fixed otherCivNonOverlappingDefensivePacts causing error with unmet Civs
2023-09-18 09:48:22 +03:00
.github Generic Widget/Provider framework for sortable grids (#8962) 2023-09-13 19:42:22 +03:00
.idea/inspectionProfiles chore: inspection performance improvements 2023-04-08 22:03:22 +03:00
android A "Status" column for City Overview (#10126) 2023-09-18 09:46:29 +03:00
buildSrc 4.8.5 2023-09-13 11:17:57 +03:00
core AI diplomatic actions rework (#10071) 2023-09-18 09:48:22 +03:00
desktop Replace incorrect GraphicsEnvironment.maximumWindowBounds (#10117) 2023-09-18 09:46:44 +03:00
detekt/config Fixed more warnings (#9401) 2023-05-18 10:12:33 +03:00
docs docs: linting - List for victory illustrations to be shown as list 2023-09-14 09:09:53 +03:00
extraImages AbsoluteUnits - Unique Triremes (#8354) 2023-01-11 09:16:24 +02:00
fastlane/metadata/android 4.8.5 2023-09-13 11:17:57 +03:00
gradle/wrapper Gradle update, offerButton.isEnabled = false in initial (#8600) 2023-02-06 14:21:46 +02:00
ios Save compatibility handling (#7255) 2022-07-01 09:34:41 +03:00
server Update UncivServer.kt (#9742) 2023-07-04 20:14:45 +03:00
tests Unit tests for Battle.kt (#10127) 2023-09-14 18:53:40 +03:00
.dockerignore Added running unciv in docker (#7031) 2022-06-01 22:21:56 +03:00
.editorconfig Combat java.util.star-import (#9382) 2023-05-13 21:50:55 +03:00
.gitattributes Show arrows on map for unit actions: Asset files. (#5825) 2021-12-25 22:29:19 +02:00
.gitignore ci: improved detekt configuration and ci (#9380) 2023-05-14 21:55:36 +03:00
build.gradle.kts build: unify coroutines version to buildconfig variable 2023-09-06 15:20:32 +03:00
changelog.md 4.8.5 2023-09-13 11:17:57 +03:00
debug.keystore We need the debug keystore to check the Android package locally 2021-03-06 21:44:37 +02:00
docker-compose.yml Added running unciv in docker (#7031) 2022-06-01 22:21:56 +03:00
Dockerfile build: Change Docker JDK download to adoptium used in other releases 2023-09-06 12:35:00 +03:00
gradle.properties Build test java11 (#4924) 2021-08-20 16:38:25 +03:00
gradlew Build warnings cleanup (#6827) 2022-05-19 02:12:18 +02:00
gradlew.bat Build warnings cleanup (#6827) 2022-05-19 02:12:18 +02:00
keystore.jks Google play-able 2017-11-25 21:56:04 +02:00
LICENSE Create LICENSE 2018-02-25 00:13:37 +02:00
mkdocs.yml awesome-pages test 2 2023-07-02 23:21:30 +03:00
README.md Fix docker badge (#9946) 2023-08-20 09:18:13 +03:00
settings.gradle.kts Fixed a couple warnings reported by code analysis (#9364) 2023-05-10 11:43:53 +03:00

Unciv - Civ V remake for Android & Desktop

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

Build status 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

How do I install?

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.

Steam release?

Steam has decided that they don't want to host Unciv, they probably don't want to risk legal issues with Firaxis (although those should be non-existent, see below)

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.

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!

Run with Docker Docker

If you have docker compose installed:

$ docker compose build && docker compose up

and then goto http://localhost:6901/vnc.html?password=headless

If just docker:

$ docker build . -t unciv && docker run -d -p 6901:6901 -p 5901:5901 unciv

Or just use our already built one:

$ docker run -d -p 6901:6901 -p 5901:5901 ghcr.io/yairm210/unciv

and then goto http://localhost:6901/vnc.html?password=headless

Credits and 3rd parties