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
The Quartering
2 hours agoTrump Snub Backfires, Matt Walsh Sounds The Alarm, Candace Owens Theory On Charlie Kirk
12,293 watching -
DeVory Darkins
2 hours ago $4.47 earnedDemocrat Candidate leaves crowd DUMBFOUNDED as Trump scores MAJOR VICTORY
17.7K10 -
LIVE
Dr Disrespect
5 hours ago🔴LIVE - DR DISRESPECT - BATTLEFIELD 6 - THE WAR BEGINS | BF6 LAUNCH DAY
2,226 watching -
Sean Unpaved
2 hours agoTNF Shocker: Giants Stomp Eagles, Cubs Claw a Game 5, Weekend NFL/CFB Best Bets!
4.33K -
1:25:05
HotZone
6 hours ago $0.11 earned5 Signs Terrorists are Plotting a Massive US Strike
622 -
1:05:42
Dear America
2 hours agoShould Christians Celebrate Halloween?
5.07K3 -
2:03:24
The Culture War with Tim Pool
3 hours agoAntifa Is A Terror Organization, Crackdown Coming As Leftists Defend Violence | The Culture War
134K118 -
28:39
Afshin Rattansi's Going Underground
5 days agoThe Trump Plan to Save US Economic Hegemony You Haven’t Heard Of (Jim Rickards)
6.8K2 -
LIVE
Lara Logan
15 hours agoROSEANNE UNLEASHED: Bolder Than Ever, Plus an Exclusive Peak at Her New Show | Roseanne Barr | Ep 39
563 watching -
1:14:27
Steven Crowder
5 hours agoTrump Gets Screwed out of Nobel Prize - And They're Actually Thrilled About It
187K263