Igor360@lemmy.world to Python@programming.dev · 30 days agocan someone test my game?github.comexternal-linkmessage-square7fedilinkarrow-up128arrow-down11file-text
arrow-up127arrow-down1external-linkcan someone test my game?github.comIgor360@lemmy.world to Python@programming.dev · 30 days agomessage-square7fedilinkfile-text
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up6·29 days agoI guess the obvious question now is “why”? From a glance, it’s pretty clear that one of the things that you really should’ve done is separated the file reading/writing into separate functions, instead of having every function open-read-write cat.txt
minus-squareIgor360@lemmy.worldOPlinkfedilinkarrow-up2·29 days agohmmm… okay! i think i know how to do it!
minus-squareIgor360@lemmy.worldOPlinkfedilinkarrow-up0·27 days agookay! its done! can you upgrade my game?
I guess the obvious question now is “why”? From a glance, it’s pretty clear that one of the things that you really should’ve done is separated the file reading/writing into separate functions, instead of having every function open-read-write
cat.txt
hmmm… okay! i think i know how to do it!
okay! its done! can you upgrade my game?