Battleship is a project mainly written in ..., it's free.
A Battleship game in Ruby on Rails By: Jori Hardman