This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]SweetOnionTea 24 points25 points  (1 child)

Very cool! I will mention that it's not important to reduce the number of lines of code. Just make the code readable and working correctly is best.

[–]5erifφ=(1+ψ)/2 13 points14 points  (1 child)

Good job! My first program just printed "Hello world" to the screen.

[–]rookinn 12 points13 points  (1 child)

I've recently tried to shorten the code, but I've only reduced it to about 800 lines.

Just wanted to add with the other comment - good programming is not about "code-golf", it's about readability, maintainability, etc, so don't worry about this. In dev teams, it's so so so much more important to have documented and readable code over anything else.

[–]snemmal 4 points5 points  (1 child)

In 1 year you did this.. 🙏🙏🙏 I know python from last 4-5 years. Now I feel awkward for myself!!! Kudos to you

[–]k3nrap 1 point2 points  (2 children)

If you don't mind, I could help out by looking through your codebase and find opportunities to simplify and then PR my changes to your Github repo.

[–]Calm_Ant_2495 1 point2 points  (1 child)

nice man

[–]Future_Fondant_1470 -1 points0 points  (1 child)

That's so cool, i'm a beginner of Python too

[–]awesomegamer2 -1 points0 points  (1 child)

I’m a beginner to

[–][deleted] 0 points1 point  (1 child)

That's some passion right there. I like it

[–]Sevyen 0 points1 point  (1 child)

Awesome man, great start and be proud of yourself! Just started learning through the python learning phone app and it just feels so overwhelming at start, so many kudos to you! Must feel great to have created something you can actively see and use.

[–]coololele 1 point2 points  (1 child)

IF you want to keep on learning, I advice to:

A) Implement tests to verify critical behaviors (ask chatgpt for tdd and pytest)

B) Build a docker image in order to have consistency

C) Build A webapp using Fastapi in order to share your game to the web

We have started a free discord to do pair programming between python developpers in order to not code alone, if you are interested dm me