Your browser is unsupported

We recommend using the latest version of IE11, Edge, Chrome, Firefox or Safari.

CS.18 – Arduino Warship Battle Arena

Team Members Heading link

  • Juan Manqueros
  • Kevin Pereira

Project Description Heading link

This project aims to create a Battleship game. The games logic will be conducted using two Arduino microcontrollers which act as separate microcontrollers. The game will involve two players, each with their own set of ships that they will place on an 8×8 grid. The grid will be made up of several LEDs, each LED represents a coordinate. The players then take turns guessing where the other player’s ships are located by selecting coordinates on the grid. The Arduinos will be used to control the game logic, including the placement of the ships, selecting indexes to attack during attack phase, and the detection of both hits and misses. To move across the board Player 1 can make use of a joystick and Player 2 will use 2 potentiometers. To enhance user experience, auxiliary LEDs will also be used to increase the readability of the game. The LEDs will be used as visual indicators for different phases of the game, the green and blue LEDs will be used as player indicators for Player 1 and Player 2, respectively. The red LED will be used as error feedback e.g. if the user tries to attack an index that has already been attacked. The players will also make use of 2 buttons, the first button will be used to control and change the orientation of the ships during the build phase. The second button will be used during the Build Phase and Attack Phase as a confirmation button which allows the user to confirm the index they would like to place a ship or attack.