Blog Post
Jonathan_Hill
Super Hero
Hello everyone. As I mentioned above, I have mixed feelings about Connect 4, but I always loved Battleships, so here's my spin on this week's challenge, FOURPEDO!
DEMO: http://bit.ly/elhc243
BLOG: http://bit.ly/elhc243bl
This demo uses a 'mechanical' solution rather than JavaScript to power the CPU opponent, which I'll explain fully in my blog. Take care though, once the CPU gets a hit, it will close in our your submarine very quickly!*
Might add sound effects and the ability to chose your submarine's position in v2, but would be pleased to hear what you think in the meantime.
DEMO: http://bit.ly/elhc243
BLOG: http://bit.ly/elhc243bl
This demo uses a 'mechanical' solution rather than JavaScript to power the CPU opponent, which I'll explain fully in my blog. Take care though, once the CPU gets a hit, it will close in our your submarine very quickly!*
Might add sound effects and the ability to chose your submarine's position in v2, but would be pleased to hear what you think in the meantime.
DevlinPeck
6 years agoCommunity Member
Great work! I sunk the computer's fourpedo >:) I like the graphics...sound effects would be even better!
- Jonathan_Hill6 years agoSuper HeroThanks Devlin! Like you I took this more as challenge to develop an automated opponent. Sound effects are coming soon!