Here is an advance version of BattleShip, I will be playing around with it until I fully understand it.