@name hcgui6
@outputs UI_ActivePlayer:entity Turn:string ScoreW ScoreB History:string
@trigger none
@model models/hunter/plates/plate2x2.mdl

if (first()) {
    
    #include "games/chess/hex/lib/rewrite"

    Chess = game_from_fen(FEN_NewGame)
    
}

elseif (UI_LoadStatus == "create_game") {
    
    create_game()    
    
}

elseif (UI_LoadStatus == "play_game") {
    
    play_game()

}
