RiLeone / warbot

An autonomous, simulated game of world-conquest.
GNU General Public License v3.0
2 stars 2 forks source link

Add Map Visualization #8

Open RiLeone opened 3 years ago

RiLeone commented 3 years ago

Is your feature request related to a problem? Please describe. The simulation should be visualised on the map. Shapes of states need to be defined somewhere.

Describe the solution you'd like A round-by-round visualisation of the current status.

SGE-MagHead commented 3 years ago

For the state shapes we could idealize everything and pixel (voxel) every state with a standard unit, this way we could even add topological information and have partial state captures

bdaawg commented 3 years ago

there's this geographical library that provides countries' shapes in different resolutions and other information. I will check if I can find it.

SGE-MagHead commented 3 years ago

I think we can probably split the topic here, and have barna working on his implementation of the world library and on my version where you can scan your own made map and load it in the game, would be two different feature / game mode

RiLeone commented 3 years ago

Just came to my mind: a map with states and neighbours is nothing else than a (planar) graph. Maybe some concepts from graph-theory can result useful in automating some of the processes in world-generation and maps-visualisation. A possible Pythonic implementation of graphs and some concepts can be found here: https://www.python-course.eu/graphs_python.php

Maybe a combo of Graphs, Random Constrained Centers, and Delaunay Triangulations/Voronoi Diagrams is a possible path to success in terms of visualisation and world generation.

RiLeone commented 3 years ago

I created a new issue (#27) for the topic of random world generations. That thing sounds super interesting to implement.