update code for wargame 05