this post was submitted on 05 Jul 2023
162 points (98.2% liked)

Programmer Humor

32190 readers
437 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 10 comments
sorted by: hot top controversial new old
[–] Spzi@lemm.ee 38 points 1 year ago (1 children)

As a child, I made a siren in QBASIC. Very proud, 2000 lines of code.

My sister's boyfriend then introduced me to the concept of FOR loops. 6 lines of code.

Ah yes, to be in middle school again

[–] CaptainJack42@discuss.tchncs.de 30 points 1 year ago (1 children)

On the upside, if he's finished with this he has literally solved chess.

On the downside, the heat death of the universe will probably happen before he's able to finish this.

[–] Johanno@lemmy.fmhy.ml 8 points 1 year ago (1 children)

Mhh since we want to map every single possible situation we could auto generate it on parallel threads.

[–] CaptainJack42@discuss.tchncs.de 4 points 1 year ago (1 children)

Go for it, I'm pretty sure there's a ton of people that would pay a shitload of money if you're able to achieve this for every possible position

[–] Johanno@lemmy.fmhy.ml 3 points 1 year ago

parallelization does not solve the problem of the missing Hardware in the costs of millions.

[–] MachineFab812@discuss.tchncs.de 14 points 1 year ago

Anything that can be made playable in the terminal like so is gods' own work ... but someone needs to teach that poor coder about subroutines, and the various gameplay engines(AI/CPU opponents, and move validation) that exist already.

Hell, the UI/UX work may be in place already, but some wheels can be rewarding to reinvent, even if only to learn them from the ground up.

[–] Pantrygheist@programming.dev 11 points 1 year ago

Reminds me when I was a teacher assistant checking programming homework, had a good laugh at some of the stuff they sent me.

[–] lugal@lemmy.one 5 points 1 year ago

When you realize your code has exponential length...

[–] lowleveldata@programming.dev 1 points 1 year ago

I want to see how it handles the AI's move tho