Two-Player Terminal Battleship: Ship Placement From Input, Then Turn-Based Attacks

Quick Overview

Build a two-player Battleship game as a class that runs in the terminal, with players taking turns to place ships by typing coordinates and sizes, then extend it so they can attack each other's fleets. It tests object modeling, input parsing and validation, turn handling, and delivering a large amount of working code under time pressure.

Two-Player Terminal Battleship: Ship Placement From Input, Then Turn-Based Attacks

Company: Citadel

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: Build a two-player Battleship game as a class that runs in the terminal, with players taking turns to place ships by typing coordinates and sizes, then extend it so they can attack each other's fleets. It tests object modeling, input parsing and validation, turn handling, and delivering a large amount of working code under time pressure.

Citadel logo
Citadel
Oct 7, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
31
0
Loading...