The BattleShip was developed using Java. It is an online game where one user has to sink the other user’s ships. The game uses Server-Client structure, each user has a map where he needs to allocate his ships and one map where he will choose where to shoot to try to hit his enemy’s ships. The one who hit all opponent’s ships first, wins the game. The ships allocation can be manually or automatic (random position) and there is also a chat implemented where one user can talk to his opponent.

UPDATE:

Battleship v2.0 has now single player mode. The user can play against the computer.

Features

  • Two players
  • Chat
  • Single Player (against computer) on v2.0

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow BattleShip

BattleShip Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BattleShip!

Additional Project Details

Operating Systems

Linux, Windows

Languages

English

Intended Audience

Developers, End Users/Desktop

User Interface

Java Swing

Programming Language

Java

Related Categories

Java Chat Software, Java Board Games, Java Real Time Strategy Game

Registered

2015-12-27