Skip to content

[Not Playable Yet] A 4x civ like game with the focus on more complex systems and gameplay.

Notifications You must be signed in to change notification settings

ScarlettSamantha/OpenCiv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCiv

🚨 Warning: This project is in a very early development phase and is likely not functional yet. It may lack gameplay elements and is currently focused on testing raw system implementations.

⚠️ Danger: This code is highly dynamic and can be vulnerable to arbitrary remote code execution if modified or when using downloaded files. Malicious actors could exploit this to run harmful code(!There is no sandbox!). Be extremely cautious and only load trusted, verified sources.

Project

Progress on systems:
System Docs Name Priority Expected Version Implementation Thought out Skeleton Basic Implementation Integration UI Play Final Implementation Balance
engine [doc] Logging v0.1 - PoC ✔️ ✔️ ✔️ ✔️
engine [doc] Resource Maths v0.1 - PoC ✔️ ✔️ ✔️
engine [doc] Ages v0.2 - PoC ✔️
engine [doc] Saving v0.2 - Development ✔️ ✔️ ✔️
engine [doc] Loading v0.2 - Development ✔️ ✔️ ✔️
engine [doc] Tiles v0.2 - Development ✔️ ✔️ ✔️
engine [doc] Yields v0.2 - Development ✔️ ✔️ ✔️
engine [doc] Turn v0.2 - Development ✔️
engine [doc] Combat v0.2 - Development ✔️
engine [doc] tile layers v0.2 - Development ✔️
engine [doc] Graphics v0.2 - Development ✔️
engine [doc] Sounds v0.2 - Development ✔️
engine [doc] Mod Support v0.3 - Pre-Alpha ✔️
engine [doc] Land Plane v0.3 - Pre-Alpha ✔️
engine [doc] CPU AI v0.3 - Pre-Alpha ✔️
engine [doc] Space Plane v0.4 - Alpha ✔️
engine [doc] Air Plane v0.4 - Alpha ✔️
engine [doc] Naval Plane v0.4 - Alpha ✔️
engine [doc] Multiplayer 1.1 - Multiplayer ✔️
UI [doc] Main Menu and Systems v0.3 - Pre-Alpha ✔️
UI [doc] Yield Overview v0.4 - Alpha ✔️
UI [doc] Options Menu v0.4 - Alpha ✔️
gameplay [doc] Tech v0.1 - PoC ✔️ ✔️
gameplay [doc] Textures v0.1 - PoC ✔️
gameplay [doc] Culture (Civics) v0.1 - PoC ✔️ ✔️
gameplay [doc] Greats v0.2 - Development ✔️ ✔️ ✔️
gameplay [doc] Victory Conditions v0.3 - Pre-Alpha ✔️
gameplay [doc] Leaders v0.2 - Development ✔️ ✔️ ✔️
gameplay [doc] Civs v0.2 - Development ✔️ ✔️ ✔️
gameplay [doc] Effects v0.2 - Development ✔️ ✔️ ✔️
gameplay [doc] Tax v0.2 - Development ✔️
gameplay [doc] Happiness v0.2 - Development ✔️
gameplay [doc] Tile yields v0.2 - Development ✔️ ✔️
gameplay [doc] Cities v0.2 - Development ✔️
gameplay [doc] Units v0.2 - Development ✔️ ✔️ ✔️
gameplay [doc] Events v0.2 - Development ✔️
gameplay [doc] Wonders v0.2 - Development ✔️
gameplay [doc] Buildings v0.2 - Development ✔️
gameplay [doc] Citizens v0.2 - Development ✔️
gameplay [doc] Map v0.2 - Development ✔️
gameplay [doc] Goverments Anarchy v0.2 - Development ✔️
gameplay [doc] Ground Combat v0.2 - Development ✔️
gameplay [doc] Moods v0.3 - Pre-Alpha ✔️
gameplay [doc] Personalities v0.3 - Pre-Alpha ✔️
gameplay [doc] Empire v0.3 - Pre-Alpha ✔️
gameplay [doc] Trade v0.3 - Pre-Alpha ✔️
gameplay [doc] Rivers v0.3 - Pre-Alpha ✔️
gameplay [doc] Electricity v0.3 - Pre-Alpha ✔️
gameplay [doc] Border Growth v0.3 - Pre-Alpha ✔️
gameplay [doc] Climate v0.4 - Alpha ✔️
gameplay [doc] Gossip v0.4 - Alpha ✔️
gameplay [doc] Alliances v0.4 - Alpha ✔️
gameplay [doc] Spying v0.4 - Alpha ✔️
gameplay [doc] World Congress v0.4 - Alpha ✔️
gameplay [doc] Unit Items v0.4 - Alpha ✔️
gameplay [doc] Influence v0.4 - Alpha ✔️
gameplay [doc] Air Combat v0.4 - Alpha ✔️
gameplay [doc] Naval Combat v0.4 - Alpha ✔️
gameplay [doc] Satelites v0.4 - Alpha ✔️
gameplay [doc] Advanced Diplomacy v0.4 - Alpha ✔️
gameplay [doc] Unit Promotion v0.4 - Alpha ✔️
gameplay [doc] Dynamic Naming 1.0 - Release ✔️

*:Ready - Meaning that its in a state where I dont think it will need major work anymore just adjustments.

Vision

Main document

OpenCiv aims to create a larger and more complex game than Civilization VI, featuring a greater number of civilizations and deeper gameplay mechanics. Our goal is to build a game that retains the fun and engaging core gameplay of Civ6 while enhancing its complexity and mod-ability from the ground up. My aim is to create a more Stellaris-style Civ with more interesting things to do.

Pitfalls

This is a lot of work, and the scale of the systems is significant. The main challenge might come from the lack of relevant game development experience. Currently, performance is acceptable, but we may need to revisit some aspects in the future. With careful planning and foresight, we hope to avoid major issues. But reality is almost never this good.

Game

Mechanics

Wonders

Greats

Resources

Resource Type Code Docs
Bison Bonus Code Docs
Cheese Bonus Code Docs
Copper Bonus Code Docs
Cows Bonus Code Docs
Deer Bonus Code Docs
Ember Bonus Code Docs
Fish Bonus Code Docs
Furs Bonus Code Docs
Glass Bonus Code Docs
Hardwood Bonus Code Docs
Mercury Bonus Code Docs
Obsidian Bonus Code Docs
Pigs Bonus Code Docs
Potato Bonus Code Docs
Rice Bonus Code Docs
Salt Bonus Code Docs
Tin Bonus Code Docs
Whales Bonus Code Docs
Wheat Bonus Code Docs
Cats Luxury Code Docs
Diamonds Luxury Code Docs
Dogs Luxury Code Docs
Gold Luxury Code Docs
Ivory Luxury Code Docs
Jade Luxury Code Docs
Marble Luxury Code Docs
Silver Luxury Code Docs
Aluminium Strategic Code Docs
Coal Strategic Code Docs
Gas Strategic Code Docs
Graphite Strategic Code Docs
Horses Strategic Code Docs
Oil Strategic Code Docs
Rare Earth Metals Strategic Code Docs
Uranium Strategic Code Docs

Civilizations

Civilization Wikipedia Link Code
Akkadian Akkadian Empire code
American Empire American Empire code
Byzantine Byzantine Empire code
China History of China code
Egypt Ancient Egypt code
England History of England code
France History of France code
Germany History of Germany code
Greece Ancient Greece code
Japan History of Japan code
Korea History of Korea code
Low Countries Low Countries code
Ottoman Ottoman Empire code
Persia Persian Empire code
Rome Ancient Rome code
Spain History of Spain code
USSR Soviet Union code
Vikings Vikings code

Leaders

Leader Wikipedia Link Code
Abraham Lincoln Abraham Lincoln (American Empire) code
Alexander Alexander the Great (Greece) code
Ambiorix Ambiorix (Low Countries) code
Atatürk Mustafa Kemal Atatürk (Ottoman) code
Augustus Augustus (Rome) code
Caesar Julius Caesar (Rome) code
Charlemagne Charlemagne (France) code
Charles III Charles III (Spain) code
Charles V Charles V (Holy Roman Empire) code
Cleopatra Cleopatra (Egypt) code
Cnut Cnut the Great (Vikings) code
Constantine Constantine the Great (Byzantine) code
Darius Darius the Great (Persia) code
De Gaulle Charles de Gaulle (France) code
Elizabeth Elizabeth I (England) code
FDR Franklin D. Roosevelt (American Empire) code
Giovanni di Bicci de' Medici Giovanni di Bicci de' Medici (Italy) code
Gorbachev Mikhail Gorbachev (USSR) code
Herald Herald of the Great Danelaw (Vikings) code
Isabella Isabella I of Castile (Spain) code
James James VI and I (England) code
Joan van Oldenbarnevelt Johan van Oldenbarnevelt (Low Countries) code
Justinian Justinian I (Byzantine) code
Kamehameha Kamehameha I (Hawaii) code
Kublai Kublai Khan (Mongolia) code
Lenin Vladimir Lenin (USSR) code
Leonidas Leonidas I (Greece) code
Louis XIV Louis XIV (France) code
Meiji Meiji Emperor (Japan) code
Napoleon Napoleon Bonaparte (France) code
Naram-Sin Naram-Sin (Akkadian) code
Nebuchadnezzar Nebuchadnezzar II (Babylon) code
Otto Otto von Bismarck (Germany) code
Peter Peter the Great (Russia) code
Philip II Philip II of Spain (Spain) code
Qin Shi Huang Qin Shi Huang (China) code
Ragnar Ragnar Lodbrok (Vikings) code
Ramesses Ramesses II (Egypt) code
Sargon Sargon of Akkad (Akkadian) code
Sejong Sejong the Great (Korea) code
Sitting Bull Sitting Bull (Sioux) code
Suleiman Suleiman the Magnificent (Ottoman) code
Taisho Taishō Emperor (Japan) code
Tokugawa Tokugawa Ieyasu (Japan) code
Victoria Queen Victoria (England) code
Wilhelm Wilhelm II (Germany) code
William the Silent William the Silent (Low Countries) code
Wu Zetian Wu Zetian (China) code
Xerxes Xerxes I (Persia) code

Win Conditions

Condition Mechanic Meta-Docs Code
Alliance State Building/Diplomacy alliance.md code
Commerce Gold/Corporations/Trade gold.md code
Military War/Military military.md code
Religion Religion/War/Spy/Instability religion.md code
Science State Building/Diplomacy science.md code
Culture Culture/Tourism/Archaeology/Diplomacy culture.md code

⚖️ Disclaimer: This game and its associated code are provided for educational and informational purposes only. The author assumes no responsibility for any errors, omissions, or inaccuracies in the code. Users are strongly advised to thoroughly review, test, the code. The author makes no guarantees regarding the security, reliability, or performance of the game. By using this code, you agree that the author shall not be held liable for any damages, losses, or other consequences arising from its use, misuse, or inability to use the game, including but not limited to any unintended or harmful actions caused by the game. Use this game at your own risk and ensure that all necessary precautions are taken.

🌍 Historical Context and Point of View Disclaimer: OpenCiv includes civilizations, leaders, and events inspired by real-world history but real history is complex. While I strive to create a neutral point of view, the game may simplify or alter historical events for gameplay purposes. These portrayals try to not reflect any political or cultural stance but should not be taken as any kind of truth. The content reflects my personal view and understanding from a (inherently limited) Western perspective, and I try to avoid contentious topics I am uncomfortable with dealing with. I acknowledge that many events depicted were horrible and should never be repeated. This game is for entertainment. Please don't cancel me; I want to create a fun game for everyone. 🙏

About

[Not Playable Yet] A 4x civ like game with the focus on more complex systems and gameplay.

Topics

Resources

Stars

Watchers

Forks

Languages