Can i simplify the code???
can anyone help me to simplify the code? how can i make an algorithm that knows where u placed the X??????? please help, or else I'll be coding until next saturnday. If it's impossible (i dont think so) tell me and I'll go back to work. there are a lot of combinations.
13 Replies
Think of a way to store the players choices in some kind of datastructure or variable
then a way to render that DS/variable
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
ty
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
ok, better than nothing
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
okok
GUYS I THINK I FOUND THE SOLUTION
(I'll semi manually type all of the combinations)
uhh
no? :p
like, think of how much of a waste that is.
its much better to actually learn the basics of programming and variables
yeah, I'm doing that
but I wanted to make a different project this time
i stored the decision inside a string
that will change in the future
(if this works)
and methods
at least with this project I'm finding my limits and now i now where to practice and what learn. at the end this wasn't a total waste of time
1) I'm having fun 2) I'm learning a lot of things doing this project
3) practice those things until u get em right which means lots of repetition and boredom
ok, I'll do that