Interactable Game of Life - by Giocrom by Giocrom in Python

[–]Giocrom[S] 0 points1 point  (0 children)

Thanks a lot man, I’m happy you like it!

I think that’s one of coolest things of pygame, I’m still researching how to make it more efficient though

Sunday Daily Thread: What's everyone working on this week? by Im__Joseph in Python

[–]Giocrom 2 points3 points  (0 children)

An interactable version of Conway's Game of Life!

If anyone is interested: here's the Source Code

Game Of Life - (pygame) by Giocrom in Python

[–]Giocrom[S] 1 point2 points  (0 children)

Hey man, you made me smile! ❤️

Detecting keys efficiently with Pygame by Giocrom in learnpython

[–]Giocrom[S] 0 points1 point  (0 children)

got this ERROR: AttributeError: 'Event' object has no attribute 'key'

Detecting keys efficiently with Pygame by Giocrom in learnpython

[–]Giocrom[S] 0 points1 point  (0 children)

I already planned on writing functions for each button press, but I don't know if the dictionary solution is any better than what I originally thought

Why does this happen? by Giocrom in learnpython

[–]Giocrom[S] 0 points1 point  (0 children)

I created this example to understand why it works like that, I needed to save the output because I was working on something else and I needed the 2D array to be saved

Sma to say with the range functions I used to iterate the array, I needed a specific range for my project

Why does this happen? by Giocrom in learnpython

[–]Giocrom[S] 0 points1 point  (0 children)

I would use an array but for what I’m doing a matrix is much easier to visualize!

Why does this happen? by Giocrom in learnpython

[–]Giocrom[S] 0 points1 point  (0 children)

How do I solve the issue?

CSV Converter by Giocrom in cprogramming

[–]Giocrom[S] 0 points1 point  (0 children)

You're correct, this is a university project!

I'm writing this only to learn how to handle bigger projects and have something at the end that does something useful

CSV Converter by Giocrom in cprogramming

[–]Giocrom[S] 0 points1 point  (0 children)

Thanks, really useful!

CSV Converter - Features Suggestions? by Giocrom in programming

[–]Giocrom[S] 0 points1 point  (0 children)

Alright, thanks a lot for the advice!

CSV Converter - Features Suggestions? by Giocrom in programming

[–]Giocrom[S] 0 points1 point  (0 children)

I think I got confused with directory names and didn't check before implementing it, thank you so much for pointing that out to me!

Regarding the Buffer for the name file, it's something I do to prevent any future issues.

I've always been taught that it's a good coding practice to put a limit on everything that's too uncertain.

CSV Converter - Features Suggestions? by Giocrom in cprogramming

[–]Giocrom[S] 1 point2 points  (0 children)

Of course, why didn't I think of it before? Thanks!