Just completed the final ruby project.
I felt like my code isn’t dry, and the organization could use some work.
The hardest part of this project was figuring out how to code threefold repetition, and the 50 move draw rule. I ended up using object marshalling to serialize the board before a move is made, and then checking for the draw and victory conditions. As a result, my game runs slower than it would. Are there any better ways to code draw conditions?
On a side note, I feel like if I move onto the next topic on the odin project, I’ll forget everything I learned up to that point. Anyone have a solution to this, Is it just a matter of repetition?