Irrelevant >> Battleship

Battleship

The battleship is a classis naval board game; the rules for it can be found here. I have implemented this game while still in my undergraduate program (around 2000) using only the JavaScript language and HTML tags. At that time, I thought JavaScript is completely useless as a programming language so I had to implement something beyond web page menus to convince myself otherwise.

* Both boards wrap around vertical edges. It is not a bug (sort of) - I was too lazy to check for the boundaries.