SimpleCiv is really simple clone of Civilization game. It's free software (released under GNU GPL v2 license), written in pure C, using ncurses and expat libraries (unfortunely, we don't use all power of ncurses).
Features:
- technology tree and researchs, as in original Civilization, but with several exception: you don't know, what the technologies are in the end of this tree; you can't research some technology, if you don't have special nature resource.
- hiring units and fighting between them
- multiplayer («hot seat»)
Or, in the nutshell, differents with Civilization:
- no buildings
- no unit's experience or city's levels
- no diplamacy
- no AI
- different technology tree implementation
SimpleCiv is really simple :)
In general, simply make
. For notes about compilation look for this article (Linux) or for this (Windows).
There is no install rule in Makefile, because of this picture.
Use valgrind to find memory leaks and other unpleasant bugs (with memory):
$ valgrind ./project
You need to know, what ncurses have a lot of memory "leaks". You can read more about this here.
You can find concept of this project in "docs" directory.
Map window
- Arrow keys — move map/unit.
- Enter — end turn.
- Space — choose unit to move or open city dialog to hire units.
- c — create city (choosed settler is needed).
- b — chop the forest (choosed lumberjack and forest on the cell are needed).
- m — build the mine (choosed miner are needed).
- t — open researching technologies dialog.
- h — show help.
- i — show unit info.
- n — show next unit (if selected) or city.
- q — quit game.
Technologies dialog
- Up/down arrow keys — choose technology.
- Enter — start researching (will terminate current researching).
- q — return to map.
Hiring units dialog
- Up/down arrow keys — choose unit.
- Enter — start hiring (will terminate current hiring).
- q — return to map.