typical user actions - StepanoidTeam/powerGrid GitHub Wiki

++ sample:

StationAucPhaseController

ResourceByingPhaseController

ChatController //dostupen vsegda - SendMessage()

TransferResourcesBetweenStations //доступен всегда - transferResources(from, to, [{type, count},…​])

  1. stations buying

    • selectStation() /auc/selectStation

    • passCurrentTrade() /auc/trade/pass

    • raiseBid() /auc/trade/raise

    • DeleteStation() //удалить лишнюю станцию при покупке новой

    • Done() /auc/leave?

  2. Resource buying

    • buyResources({coal: 4, wood: 4, stone: 2})

    • Done()//leave Market

  3. Building Towns

    • buyTown(townId) //getMap returns all calculated prices each time

    • Done() /building/end

  4. Bureaucracy // очередность не важна (как в чате)?

    • SelectStationsToBurn([stationId,])

    • Done() //чтобы топить по-чуть-чуть ++

⚠️ **GitHub.com Fallback** ⚠️