Oregon
This blog will be all my adventures through JavaScript with slight descriptions of key concepts of the code i do.
Small Battleship Simulator in JavaScript
above is the UI that i decided to use. you have 9 spots for yourself and the AI. At the start you pick 3 spots to be your ships.
Each spot is numbered 1-9 and at the start of the document the CPU picks both where it wants it's ships and where …
Advertisement
Popular Blogs
Advertisement