Towards a working combat simulator for the play by web game To Boldly Go