Giter Club home page Giter Club logo

fantasy-city-planner's People

Contributors

dangerblack avatar hawson avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

uneekone

fantasy-city-planner's Issues

4 quadrant but N core, quadrant are fixed

By now quadrant are fixed, they must be parameterized as the number of core for efficiency!

line 563 fcp.py

nw=Rect(Point(0,0),Point(config['CITY_SIZE_X']/2,config['CITY_SIZE_Y']/2))
    ne=Rect(Point(config['CITY_SIZE_X']/2,0),Point(config['CITY_SIZE_X'],config['CITY_SIZE_Y']/2))
    sw=Rect(Point(0,config['CITY_SIZE_Y']/2),Point(config['CITY_SIZE_X']/2,config['CITY_SIZE_Y']))
    se=Rect(Point(config['CITY_SIZE_X']/2,config['CITY_SIZE_Y']/2),Point(config['CITY_SIZE_X'],config['CITY_SIZE_Y']))
    workers.append(pool.apply_async(conflictSolver,[(0,0),zone[0][0],nw,duty]))
    workers.append(pool.apply_async(conflictSolver,[(0,1),zone[0][1],ne,duty]))
    workers.append(pool.apply_async(conflictSolver,[(1,0),zone[1][0],sw,duty]))
    workers.append(pool.apply_async(conflictSolver,[(1,1),zone[1][1],se,duty]))

in the future it must be
something like

for i in range(0,sqr(numberofcore)):
   for j in range(0,sqr(numberofcore)):
       workers.append(pool.apply_async(conflictSolver,[(i,j),zone[i][j],area[i][j],duty]))

Streets, road, and so on

Is there any documentation about how to configure streets in a medieval city?

Streets must link important places and also other city.

Houses must leave the passage at streets but sometimes street may deviate due to an old house that was there before.

Streets are important only for horses the inhabitants can walks on mud.

Solution 1
Streets can be build from a simulation, letting freely walking of inhabitants with task (like find bread, find the castle, find something) this could be really heavy but could be the smartest solution.

Solution2
Streets can be made by linking places and drawing lines this could be the easiest way.

buildings can be placed in water

buildings can be placed in the river. Unless there are exceptions for special buildings (harbors, docks), this shouldn't be permitted.

Uk on the map, must be mapped

Too much Uk on the map cause confusion in the reader.
Each place must have an unique shorter or at least the shorter must collide with something similar like
CHICKEN_BUTCHER_SHOP (Bu) collide with BUTCHER_SHOP (Bu) in this case it's fine for me.
In the end no place must be unknown at all.

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.