I made a battleships clone for Windows in C# last semester for the course "Human-Computer Interactions". This semester we had a project in the course "Neural Networks" where we decided to take my game from earlier and revamp the AI so it's using a neural network for targeting decisions. Well, here's the result.
http://www.sendspace.com/file/46bmguThe options are currently hardcoded constants (it allows any ship sets, any grid size, etc.) and it's not possible to change them in the compiled game. I'm going to improve it a bit later and add those options. I'll probably add an option where you can adjust the weight factors of the neural network's input neurons as well. :3 The ship set is 2, 3, 3, 4, 5 and the grid size is 10x10.
This compiled version has also the learning flag set to true. That means that the neural network keeps learning as you keep playing the game. >:3
Also, don't underestimate it. That thing is able to rape anybody with ease. ._.;