Skip to content
Back to college projects
Games and simulationsLive demo

Battleship tactical grid

A browser-safe adaptation of the college battleship logic with bounded turns, hit or miss tracking, and distance echo hints.

Original implementation

The original C project generated ship placement and used coordinate shots, including distance checks for tactical feedback.

Web adaptation

The web version keeps randomized placement and shot resolution while adding a constrained turn limit and deterministic click-based controls.

Why it matters

Demonstrates grid-state modeling, collision rules, and game feedback loops without any unsafe runtime execution.

Original stack

  • C

Web stack

  • TypeScript
  • React
  • Grid UI

Original to web

Concept-preserving rewrite designed for browser constraints.

Archive

College archive

Interactive demo

These demos do not execute uploaded source files, native binaries, or arbitrary user code. Inputs are bounded and the browser versions are first-party rewrites in TypeScript.