At JavaOne we presented a new feature of SnapCode we have been working on to provide interactive exercises to learn Java. The exercises come in the form of a puzzle game, which has the following parts:
- Instructions for a task
- A set of puzzle pieces to complete the task
- A skeleton class to add the pieces to
The user is expected to drag in the puzzle pieces in the right order and run the app. When the task completes an automatic checker (unit test) grades you to see how well you did. The first exercise we have is called “Teach Sparky to Fetch”.
I’ve posted a short, updated SnapCode overview video that shows this in action (starting at the 4m 30s mark).