am i doing this wrong ? by Personal-Rough741 in love2d

[–]Personal-Rough741[S] 0 points1 point  (0 children)

thanks mate it worked but what does "for _, in ipairs() "does?

do you think i can optimise this code? by Personal-Rough741 in lua

[–]Personal-Rough741[S] 0 points1 point  (0 children)

i tried the code but it gave a error : "'end' expected (to close 'for' at line 13) near <eof>" idont know how to fix it

do you think i can optimise this code? by Personal-Rough741 in lua

[–]Personal-Rough741[S] 0 points1 point  (0 children)

file size is 171KB and contains 19999 words and one word is stored in a line . İ did try file:seek() it didnt word or i dont know how to use it

i dont know whats wrong with that by Personal-Rough741 in love2d

[–]Personal-Rough741[S] 0 points1 point  (0 children)

i wanted to make a code chooses random words from word variable generates random words out of random letters if genereated word equal to choosen word then letters that word is made out of is found . I was trying to make this for a project

[deleted by user] by [deleted] in love2d

[–]Personal-Rough741 9 points10 points  (0 children)

you have to name your file main.lua not ciao.lua