All Projects → sizeofcat → Civitas

sizeofcat / Civitas

Licence: gpl-3.0
Civitas is an empire-building game written in Javascript with the help of the jQuery library.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Civitas

Warzone2100
Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
Stars: ✭ 2,094 (+911.59%)
Mutual labels:  game, games, strategy-game
Games
🎮 A list of popular/awesome video games, add-ons, maps, etc. hosted on GitHub. Any genre. Any platform. Any engine.
Stars: ✭ 18,676 (+8922.22%)
Mutual labels:  game, games, strategy-game
Opendiablo2
An open source re-implementation of Diablo 2
Stars: ✭ 10,057 (+4758.45%)
Mutual labels:  game, games
Gdk For Unity Fps Starter Project
SpatialOS GDK for Unity FPS Starter Project
Stars: ✭ 119 (-42.51%)
Mutual labels:  game, games
Simplexrpgengine
Modular game engine built with MonoGame, with GMS2-like workflow and advanced level editor
Stars: ✭ 122 (-41.06%)
Mutual labels:  game, games
Foda
You are at FODA source code. Play now for free
Stars: ✭ 92 (-55.56%)
Mutual labels:  game, games
Delphiarcadegames
4 FireMonkey arcade games developed with Delphi for Windows, macOS, iOS and Android
Stars: ✭ 94 (-54.59%)
Mutual labels:  game, games
Dunai
Classic and Arrowized Functional Reactive Programming, Reactive Programming, and Stream programming, all via Monadic Stream Functions
Stars: ✭ 115 (-44.44%)
Mutual labels:  game, games
Android Jigsaw Puzzle
Android app that allows you to draw anything and turn it into a jigsaw puzzle.
Stars: ✭ 139 (-32.85%)
Mutual labels:  game, games
Zetawar
Zetawar is a turn based tactical strategy game implemented in 100% ClojureScript.
Stars: ✭ 144 (-30.43%)
Mutual labels:  game, strategy-game
Travianz Legacy
Join our Discord Server: https://discordapp.com/invite/9fbJKP9 | New repo: https://github.com/iopietro/Travianz
Stars: ✭ 150 (-27.54%)
Mutual labels:  game, strategy-game
Langaw
A sample project for following along a tutorial found on jap.alekhin.io.
Stars: ✭ 90 (-56.52%)
Mutual labels:  game, games
Everpuzzle
Tetris Attack / Pokemon Puzzle style game written in Rust
Stars: ✭ 88 (-57.49%)
Mutual labels:  game, games
Unity Solutions
Use Firebase tools to incorporate common features into your games!
Stars: ✭ 95 (-54.11%)
Mutual labels:  game, games
Titlerun
The game that only exists in your title bar
Stars: ✭ 77 (-62.8%)
Mutual labels:  game, games
Igdb
Go client for the Internet Game Database API
Stars: ✭ 65 (-68.6%)
Mutual labels:  game, games
Elm Street 404
A fun WebGL game built with Elm
Stars: ✭ 178 (-14.01%)
Mutual labels:  game, games
Knights province
Knights Province missions and wiki.
Stars: ✭ 43 (-79.23%)
Mutual labels:  game, strategy-game
Supertux
SuperTux source code
Stars: ✭ 1,120 (+441.06%)
Mutual labels:  game, games
Proton Caller
Run any Windows program through Proton
Stars: ✭ 130 (-37.2%)
Mutual labels:  game, games

Civitas

Main game area

Description

Civitas is a free-to-play strategy empire-building browser game written in Javascript with the help of the jQuery library. Players develop and maintain their settlement from initial village to a fully grown metropolis, influencing and conquering the neighbouring settlements.

There is no set goal, game is played on an infinite-round basis and there is a server component planned. The focus of the game is to manufacture and trade resources in order to raise the level of your city.

Features

  • [x] Over 80 types of buildings, each intertwined in the chain of production.
  • [x] Custom climate zones, each with specific buildings.
  • [x] Global market, player can trade goods with other settlements.
  • [x] Army! Navy! Soldiers! Ships!
  • [x] Fame system that allows your city to level up via trades, conquers and special buildings.
  • [x] Prestige system that affects diplomacy.
  • [x] Each city in the game world is linked via an influence system that needs to be maintained for diplomacy to work.
  • [x] Random events that can change your diplomacy status with the other cities, give you coins or random resources.
  • [x] Espionage, influence cities, destroy buildings, sabotage.
  • [x] Ranking screen, where cities get ranked according to their status in the world.
  • [x] Declare war, propose alliances and pacts, ask other settlements to join your city, propose cease fire.
  • [ ] Heroes, unique classes and items, attributes.
  • [ ] Server component, no actual data is saved externally, only in your browser's localStorage.
  • [ ] Jailer component that assures game data integrity (no cheating).
  • [ ] Any player interaction since no data is transmitted to the server component.
  • [ ] Artificial Intelligence (AI) for computer-controlled cities.

Playing

You can play the game here but be aware of the fact that it's not synced to the latest git changed.

In development, Civitas is using several assets that are copyrighted by Bluebyte, so I cannot redistribute them with the game. In the future, the game will have a brand new set of graphics but for now those will be enough for testing. You can find a link to the said assets here (extract the contents of the civitas-assets.zip file into your dist/images/ directory). All the other game resources are freely distributed under the GPLv3 license, same as the code.

1. With Docker

$ docker-compose up --build

And point your browser to http://localhost (or even better, add the line below to your /etc/hosts file and browse http://civitas.test.

127.0.0.1	civitas.test

2. Local

Choose an archive format from below, download and uncompress it. Point your browser to dist/index.html, you don't need a game server to play.

Development

Start by installing all the prerequisites:

$ npm install

Run the main script that will load gulp and open http://localhost:8080 in your web browser.

$ npm start

Releases

License

Civitas is written by sizeof(cat) and distributed under the GPLv3 license.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Contributing

Pull requests are always welcome!

I am always thrilled to receive pull requests, and do my best to process them as fast as possible. Not sure if that typo is worth a pull request? Do it! I will probably appreciate it.

If your pull request is not accepted on the first try, don't be discouraged! If there's a problem with the implementation, hopefully you received feedback on what to improve.

Always sign your commits and make sure you read the Coding Style and the Code of Conduct.

Source code

Civitas is written using Javascript, has ~22000 lines of code (including comments and whitespace), ~290Kb minified and can be downloaded from GitHub.com, Gitee.com or by using git to clone the repository:

GitHub:

$ git clone [email protected]/sizeofcat/civitas.git

Gitee

git clone [email protected]/sizeofcat/civitas.git

Dependencies

Thanks

The music/track1.mp3 song is named Glandula Pinealis by Shantifax.

Screenshots

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].