+ 1
How would I start coding a chess match in ruby?
Im a beginner, and I have been studying ruby for about 2 months now. I know some basics and I know how to write some syntax. I just started the 3rd course in ruby on here (constructs I believe it was called 🤔). I feel I have enough knowledge to at least be able to simulate a chess game. the thing is I am still having trouble with where to even begin when it comes to coding it. so I am reaching out. anyone have a clue as to how a good programmer would write and effective chess game script?
2 ответов
+ 4
You will need a representation of the board, the pieces, the players etc.
+ 3
this is where ill start then if I encounter any issues or have any more questions I will repost them here.