Exercises to practice programming in Ruby.
Here at CodeUnion we believe that one of the best ways to develop skills as a programmer is to write code and get feedback on your code in the form of a code review from a more experienced programmer.
We wrote these exercises with the intent to give you the opportunity to solve some fun programming challenges.
If you are a CodeUnion student, you can then submit your code and receive feedback on them using the CodeUnion command-line tool. Preview an example code review.
All of the core exercises can be found in the exercises directory, and bonus exercises (i.e. really tough ones) can be found in the bonus directory.
The exercise files are listed in alphabetical order in the exercise directory, but we strongly recommend working on them in the suggested order.
- Fork and clone this repository
- Write code to solve individual exercises
- Make small, frequent commits
- Push your commits to your fork on GitHub
Once your code is on the GitHub, you can (and should) request feedback with the CodeUnion command-line tool.
You will need a working copy of Ruby to complete these exercises.
If you don't have or don't know how to use Ruby and Git development tools to accomplish any of the above steps, read our guide on setting up your development environment.