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
-
2:45:45
FreshandFit
9 hours agoShe Got Jealous Because She Saw THIS On Her Ex's Phone
229K45 -
2:11:26
Badlands Media
13 hours agoDevolution Power Hour Ep. 429: Fulton County Developments, Media Spin, and the Intelligence Chessboard
78.5K26 -
1:26:57
Inverted World Live
12 hours agoEpstein Trained with Mossad, Allegedly Used Zorro Ranch as a Baby Farm | Ep. 167
93.7K16 -
2:43:40
TimcastIRL
8 hours agoDEMOCRATS HAVE CAVED | Timcast IRL #1442
249K108 -
1:29:12
Tucker Carlson
9 hours agoThe Shocking Reality of the Treatment of Christians in the Holy Land by US-Funded Israel
97.7K128 -
23:07
hoemath
8 hours ago $3.18 earnedBABY TALK [How to deal with A.W.F.U.L. women]
38.8K17 -
18:46
Cash Jordan
9 hours agoTrump Launches DECAPITATION STRIKE... Ayatollah "TRAPPED" as Mobs Dismantle Tehran
47.8K51 -
4:52:00
Drew Hernandez
1 day agoTRUMP CALLS ON AMERICA TO MOVE ON FROM EPSTEIN AS DOJ COVERS UP FOR MONSTERS IN EPSTEIN FILES?
54.7K27 -
2:39:31
ThatStarWarsGirl
7 hours agoTSWG LIVE: Helen of DeTROYt Debate!
47.8K10 -
2:10:46
TheSaltyCracker
8 hours agoMel Was Right About Hollywood ReeEStream 02-04-26
111K161