packagecom.cn;importjava.util.Random;publicclassPlayGame{/**打架失血小程序*@paramargs*/publicstaticvoidmain(String[]args){Gameplayer1=newGame("player1");Gameplayer2=newGame("player2");while(true){player1.play(player2);player2.play(player1);}}}