{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/cf54c11ea1644e698eb6df150d1a4d3f\" 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/cf54c11ea1644e698eb6df150d1a4d3f-3d9417abc4ff90cd.gif","duration":161.319,"title":"Building a Battleship Web Application: Player vs Computer Gameplay 🚢","description":"In this video, I present my battleship web application, which features a client-server architecture where the server manages game rules and state. I discuss the evolution of the game from a player versus computer setup to allowing players to position their ships, with the server validating placements to ensure compliance with the rules. The game consists of a setup phase for ship placement and a play phase where players take turns. I also reflect on how generative AI, specifically ChatGPT, helped create a foundational boilerplate for the code, while I made key architectural decisions. I encourage viewers to explore the application and provide feedback on their experience."}