Closed da1dude closed 11 months ago
I'm not sure I'm understanding what it is you're trying to solve here, can you give me a brief explanation of what exact part of this issue this pertains to?
if a word like BUZZED has two letters I cannot get it to render the second letter.
Ohhh right, I remember now. Will analyze right when I'm back from lunch and get back to ya.
Check out the answer in this stackOverflow, see if that function makes sense and try to implement something similar that suits your needs. Let me know once you've looked it over and/or tried something similar
Ive looked it over and am not really sure what I would need to change / modify in my code to implement determining if there was a duplicate and snagging that index to render it.
ok we can look in a breakout room soon, I'll slack ya
ok
What's the problem you're trying to solve?
1 - handling multiple letters 2 - ideas on how to properly reset the game 3 - you asked me to get ahold of you about ideas for better rending the spaceShip
Post any code you think might be relevant (one fenced block per file)
If you see an error message, post it here. If you don't, what unexpected behavior are you seeing?
What is your best guess as to the source of the problem?
Im guessing here but I think forEach needs to come into play to grab the other duplicate letter. Im just clueless on how to implement that (refactoring is hard)
What things have you already tried to solve the problem?
I tried several array methods attempting to experiment.
Paste a link to your repository here
https://github.com/da1dude/spaceman/tree/main