Skip to content

Pelmenner/BattleShip

Repository files navigation

BattleShip

A battleship game created with Qt Quick 2

Info

Game supports local and online modes (however, server for online game is not available on GitHub yet) for 2 players.

Ships are drawn as cells on a field. Available actions in arrangement stage:

  • Place a ship: click on first and then on last cell
  • Delete a ship: use left click or tap and hold on any cell belonging to the ship
  • Clear the field
  • Get random arrangement

Supported platforms: Windows, Android. (Note that Qt is multiplatform, so it should be possible to build it for some other OS)

Screenshots

demo_name demo_online demo_init demo_play demo_restart

Technical details

C++ is used for backend, including logic handling
QML is used for displaying objects, animations, etc.

Requires Qt 6

About

Battleship game in C++ and QML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published