Igor360@lemmy.world to Python@programming.dev · 3 months agocan someone test my game?github.comexternal-linkmessage-square7fedilinkarrow-up127arrow-down11file-textcross-posted to: play_my_game@programming.devdestroy_my_game@programming.devopensource@lemmy.ml
arrow-up126arrow-down1external-linkcan someone test my game?github.comIgor360@lemmy.world to Python@programming.dev · 3 months agomessage-square7fedilinkfile-textcross-posted to: play_my_game@programming.devdestroy_my_game@programming.devopensource@lemmy.ml
minus-squareI Cast Fist@programming.devlinkfedilinkarrow-up6·3 months 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·3 months agohmmm… okay! i think i know how to do it!
minus-squareIgor360@lemmy.worldOPlinkfedilinkarrow-up0·3 months agookay! its done! can you upgrade my game?
yup
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?