Skip to content
  • Alexander Schuch's avatar
    Refactor player selection and added example AI. · 840cc42c
    Alexander Schuch authored and Nemanja Hiršl's avatar Nemanja Hiršl committed
            The default AI is handled by players/ai/default/default.cpp. The difficulty is
            wrapped in own classes so that the external interface is the same for all
            players (AI and human).
    
            Adding new AI players is as easy as to implement the code in an own class, add
            a GUI wrapper (see ai/example) and add the GUI wrapper to m_selectablePlayer in
            NewGameDlg constructor.
    840cc42c