Voluntarily feature creep. Instead of writing simpler one-off projects, try to keep plugging at the same project for a longer time and expand the product in ways you couldn't have guessed at the beginning. You have to learn how to write maintainable code and plan ahead.