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! While you're at it, check out some resources Treehouse students have shared here.
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 trialAdinel Berehorschi
1,771 PointsMy code just won't work
I have some problems with my Game class. Is there any opportunity to get a backup code of my Work Space for each lesson?
Simon Coates
28,694 PointsI think you can download or fork your workspace (from https://teamtreehouse.com/workspaces ). Should allow you to have an earlier copy of your code. If you want to share code with other users, you should look at 'workspace snapshots' (see https://teamtreehouse.com/library/previews-and-snapshots )
Steve Hunter
57,712 PointsI think the changes you make to the workspace persist so you might have to visit the workspaces link, as above, and delete the one you've been using. Then, when you reopen the workspace from the video page, you'll be back at the beginning ready to start again.
4 Answers
Steve Hunter
57,712 PointsOK - 5 errors:
1st. In Game.java at line 23, close the method with a curly brace after return letter
.
Next there was a similar issue then you'd called a method chatAt
rather than charAt
- but here's a working version of your code ... it's easier to just send this back so you can get working on it.
Steve.
Adinel Berehorschi
1,771 PointsThank you very much! Finally I can continue my work!
Steve Hunter
57,712 PointsNo problem! Good luck!
Adinel Berehorschi
1,771 PointsThank you, Steve! There you have the link. Thank you in advice, I really got stuck and I do need it to continue my courses. https://w.trhou.se/sx2orwl9tn
Sean M
7,344 PointsIf you copy and paste your solution, I would be more than happy to try and assist.
Steve Hunter
57,712 PointsThis was solved some time ago and is marked as such. There will be lots of other questions needing a solution on these pages, though!
Steve.
Adinel Berehorschi
1,771 PointsWell, there it is. The problem is in the Game class
Steve Hunter
57,712 PointsIn your workspace, hit the 'camera' icon, top-right. Then click on 'Take Snapshot'. That creates a new URL - share that here.
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsIf you share your workspace here we can look at getting a fix for you. Hit the 'fork' icon and post the link and that should let you copy the URL into here.