SIMPLE FIGHTING GAME WITH JAVA
(PlAYER !1) public class player1 { private String name; private String weapon; private int health; public player1(String name, String weapon, int health){ this.name=name; this.weapon=weapon; if (health < 0 || health > 100){ this.health = 100; }else this.health =health; } public void damageGun1() { this.health -=30; if (this.health <=0){ this.health=0; } System.out.println("GOT HIT BY GUN1. HEALTH IS REDUCED BY 30" + "NEW HEALTH IS "+this.health ); if (this.health ==0){ System.out....