Giter Site home page Giter Site logo

civpy's Introduction

civpy

github.com/CaptainHennessey/civpy

(c) Captain Hennessey 2013-2014

A civilization game written in Python.

License

Civpy is released under the terms of the MIT license. See COPYING for more information or see http://opensource.org/licenses/MIT.

Software Requirements

Currently, no clear software requirements are defined. To develop and test, the following OS/software was used:

  • Mac OS X 10.8 Mountain Lion
  • Python 2.7
  • Pyglet 1.2alpha1
  • Cocos2d 0.6.0

Objective

The goal is to maximize human population. There is only one player.

The game takes place on a 2D map. Each tile roughly represents a 100x100m square.

Human population is influenced by its surroundings. There are multiple resources that make up these surroundings. A positive influence is grassland (enabling farming) and water (enabling fishing). A negative influence is wilderness (areas of the map where population is 0): this keeps a town from expanding indefinitely.

Grassland is negatively affected by forests (because of the trees) and the presence of humans.

Besides these influences, there are constraints in place. Humans can't live on water, and population in forests is severely restricted by the presence of trees.

Each resource has a different influence range. For now, most resources have an influence range of 1, meaning that e.g. humans on a certain tile can only benefit from grassland on the same tile or at most 1 tile away.

civpy's People

Contributors

anacoinda-admin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.