{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/8c5bd8edf20f4427a0ee72a2170d4571\" frameborder=\"0\" width=\"1280\" height=\"960\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":960,"width":1280,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":960,"thumbnail_width":1280,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/8c5bd8edf20f4427a0ee72a2170d4571-f20f760dea3a2d94.gif","duration":127.357,"title":"Building a Battleship Web Game with JavaScript and PHP 🚢","description":"In this video, I walk you through my battleship web game that utilizes a JavaScript client and a PHP backend. I demonstrate the ship placement phase, where I place ships of varying lengths both horizontally and vertically, and then move on to the firing phase to see if I hit or miss. I also discuss my development process, including the decision to store the game state as JSON in SQLite for ease of development, though it presents challenges as complexity increases. I used AI to help scaffold the project and implement validation logic, but I made key architectural decisions myself. I encourage you to check out the game and provide feedback on your experience!"}