Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Object-Oriented JavaScript: Challenge Adding the Game Logic updateGameState() Method Solution

Gal Parselany
.a{fill-rule:evenodd;}techdegree seal-36
Gal Parselany
Front End Web Development Techdegree Graduate 19,955 Points

cmon, I erase all of my code and copy from the files and not working

I erase all of my code cause I could switch players, I downloaded the files and yet, I cant switch players . 2 days of coding and TeamTreeHouse is giving us bad file to download!

someone check this please.

1 Answer

Brian Jensen
Brian Jensen
Treehouse Staff

Hiya Gal Parselany :wave:

The completed code for the challenge is located inside the Final Complete Project folder, from the Project Files.