In this walkthrough we will:
– make 5 draggable ships
– rotate the ships prior to dragging
– make the computer take random goes
– display results based on who has sunk whos ship
– display the winner
We will not be focusing too much on the styling, this video will be all about the logic of the game. Please watch the next two videos in the series to have a completed multiplayer version that is styled.
After watching this video, please head over to:
Codestackr to make it multiplayer: https://youtu.be/TpAwggQJPUQ
Web Dev Simplified for the styling: https://youtu.be/G6JTM-zt-dQ
Thanks for watching! If you liked watching this video, please do hit the Subscribe or Like button so I know to make more!
? In most videos I use Tabnine as my A.I autocompletion tool. You can download it for free here: http://bit.ly/tabnine-top-tool
? You can get a blockchain domain with my affiliate link here: http://bit.ly/get-a-crypto-domain
? If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/aniakubow
? Sign up for weekly coding tips from my newsletter partnership: https://bit.ly/JS-tips
You can also find me on: