Project Details
I built a Connect Four game according to these instructions from The Odin Project. With this game, I gained experienced with RSpec and Test Driven Development. I'm proud of my solution because it occurred to me that I could use Ruby's `#rotate` method on each row to line up the diagonals vertically, and then `#transpose` the result. That way I could use an easy high-level solution to an otherwise difficult coding problem. I wrote an explanation of my solution here.
Click the green 'Run' button on this page to play the live version.
Skills Demonstrated
- Ruby
- Object-oriented programming
- RSpec testing framework
- Test-driven development