Battleship - Hard Computer Player and Sounds | Python | Pygame Module | Programming Beginners

1 year ago
12

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

Loading comments...