For our game ,i code this simple game by java