georgbuechner / dissonance

A command line and keyboard based strategy-game written in c++, where audio-input determines the AI-strategy and lays the seed for the map-generation.
GNU General Public License v3.0
32 stars 3 forks source link

Show availible option #42

Closed georgbuechner closed 2 years ago

georgbuechner commented 2 years ago

On every update from server, the server should additionally send which options are available:

{
    ... 
    "avaiblibe_options": [true, false, false, false, false]",
    ...
}

Ideally the server while memorize the clients current view-point and can by this also send available options in different contexts (f.e. in synapse menu)

georgbuechner commented 2 years ago

For this it will probably be needed to change calling PrintTopline to SetTopline and then print the topline at every field-update.