Misaka17032 / Project-Dark-Forest

A project to imitate the conflicts between civilizations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project-Dark-Forest

Introduction

A project to imitate the conflicts between civilizations.

There are three different kinds of civilizations, their attitudes to aliens are neutrality, friendly, and aggressively.

Each civilization has its technology points, which will increase randomly by years.

Technology points will decide the observing range of civilization and the result of the war between civilizations.

A civilization can also get technology points by allying with or destroy other civilizations.

  1. Friendly civilizations will try to ally with all the civilizations that they know.
  1. Neutrally civilizations won't attack others unless they are attacked. And they are willing to allying with friendly civilizations.
  1. Aggressively civilizations will attack all the civilizations that they've already know.

For every war, the civilization which has fewer technology points will be destroyed.

Usage

The program will keep running. Everytime when it asks "countinue?(y/n/int)", input "y" or anything else to simulate 1 round, input "n" to quit, input any positive integers to pass multiple rounds.

About

A project to imitate the conflicts between civilizations.


Languages

Language:Python 100.0%