Premium Only Content

Battleship - Hard Computer Player and Sounds | Python | Pygame Module | Programming Beginners
Here is the 10th video of Battleships in Python, using Pygame.
In this video we make use of Recursion to assist in building the hard computer player. Once the Hard computer player has "Hit" one of the player's ships, rest assured, that ship as well as any ships connected to that ship, will be systematically destroyed.
I didn't realize what a massive task this project was going to be.
Either way, the biggest project I have tackled thus far, and I absolutely loved it!! I hope you'll follow along and enjoy.
#Python #pythonprogramming #pygame #battleship #pythontutorial #pythonforbeginners #pythontutorial #python3 #code
https://github.com/GrizzlyH/Battleship_Walkthrough.git
Music Attribution : Free Spirit by Kirk Osamayo
www.freemusicarchive.org/music/kirk-osamayo/blue-season-3-1/free-spirit/
01:15 Hard Computer
03:15 Make Attack()
11:20 Explanation
12:00 GenerateMoves() - Recursion
19:40 Choose Computer Player
21:00 Test Computer
27:25 End Game Screen
35:20 New game problems
40:30 Problems Solved?
42:20 Problem Walkthrough
43:30 Remove Time Delay
45:00 Adding Sounds
-
LIVE
vivafrei
9 hours agoEp. 275: Maxwell's Plea Deal Argument! Rogue Judges! Nuclear War? Trans Lawsuits! Crypto AND MORE!
16,759 watching -
LIVE
SpartakusLIVE
1 hour agoSpartakus Sunday SOLOS to end your weekend with UNCONTROLLABLE HYPE
499 watching -
LIVE
GritsGG
6 hours agoWin Streaking All Day! Most Wins 3230+ ðŸ§
1,466 watching -
2:57:17
Barry Cunningham
1 day agoMUST SEE: 10 REASONS WHY IT'S TIME FOR PRESIDENT TRUMP TO DROP THE HAMMER! ( AND MORE NEWS)
57.2K77 -
49:57
Sarah Westall
3 hours agoScience behind Social Revolutions, the Media, Beatles, Aliens and more w/ Mark Brake
19.4K6 -
LIVE
FusedAegisTV
19 hours agoOFFICIAL Evo 2025 Day 3 Co-Stream - Las Vegas, NV ∥ Top 8 FINALS! SF6, Tekken 8 & MORE
372 watching -
1:09:08
Jeff Ahern
5 hours ago $4.90 earnedThe Sunday show!
27.4K13 -
LIVE
MissesMaam
3 hours agoI Ma'am Fish💚✨
54 watching -
LIVE
EricJohnPizzaArtist
5 days agoAwesome Sauce PIZZA ART LIVE Ep. #57: MYSTERY PIZZA NIGHT!
140 watching -
LIVE
Jorba4
2 hours ago🔴Live-Jorba4- Rainbow 6 Siege w/ the TRIBE
24 watching