Need help creating AI for battleship
Forum » Programming & Design / TI-83/84 Programming » Need help creating AI for battleship
Started by: JadaxJadax
Date: 09 Dec 2010 22:02
Number of posts: 15
rss icon RSS: New posts
I need a basic layout for how to program the AI for the firing part of my battleship program. The computer does NOT know when it has sunk a ship, only if it hits or misses. there is a 11*11 matrix, but the only coords that might have ships are the inner 9*9 coord grids. the outside of the matrix is all 1's (or shots that have missed, according to the calculator). PLEASE help me by giving me the basic operations the calculator would perform to decide where to shoot. THANKS!
New Post