Navigate Select ESC Close

Conway's Game of Life in Python

2022-04-29 Science & Technology
54.8k
1.4k
78
NeuralNine
NeuralNine
476.0k subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

In this video, we will implement Conway's Game of Life in Python. ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾ 📚 Programming Books & Merch 📚 🐍 The Python Bible Book: https://www.neuralnine.com/books/ 💻 The Algorithm Bible Book: https://www.neuralnine.com/books/ 👕 Programming Merch: https://www.neuralnine.com/shop 🌐 Social Media & Contact 🌐 📱 Website: https://www.neuralnine.com/ 📷 Instagram: https://www.instagram.com/neuralnine 🐦 Twitter: https://twitter.com/neuralnine 🤵 LinkedIn: https://www.linkedin.com/company/neuralnine/ 📁 GitHub: https://github.com/NeuralNine 🎙 Discord: https://discord.gg/JU4xr8U3dm 🎵 Outro Music From: https://www.bensound.com/

Top Comments (10)

@redouanha 2022-04-29

Can we get the code? i copied the exact same code but somehow it doesn't work for me

19 3 replies
@vikrantsinghbhadouriya4367 2022-12-18

Thank you so much dude for making this video! Excellent explanation I shall say, I could follow along with each of the steps in almost no time. I haven't used numpy so it did took me a while to understood the lines using numpy methods, ( guess shall be learning that soon as well :p) Proud seeing my own Conway Game of Life :) Thanks!!

15
@kaarthikarun9199 2022-04-29

Everybody is a ganster till you see the MONSTER

12
@nervous711 2023-08-15

4:19 Why not just np.zeros(cells.shape) ?

4
@nasrulislam1968 2023-11-19

How does your alive calculation handle corner cases, for example, the (0,0) cell? Won't it go out of bound?

3
@GHOST_WARRIOR321 2022-05-29

code checked twice and still something it not ok... all cells disappear completely, please help

2
@thedeparted_one 2023-08-28

Everything works fine, but I am unable to drag the mouse across the board and have cells appear. I can only click each individual cell. Any ideas? Also, is there a github repository of NeuralNine's code?

2
@mksmvnv 2023-12-11

Incredible! Thanks for your work!

2
@gedtoon6451 2024-01-03

Great video. How would get cells that leave the right side enter on the left side?

0
@harmplat7771 2024-01-11

Awesome, thanks so much for this clear and consise explanation with all the steps. It works! Very helpful for beginners like me.

0

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot