3 ms·
> In the first one I failed, I had to write a limited chess program, that only supported two kinds of pieces. It needed a project structure, a data model, valid
by cabalamat 3y ago
> In the first one I failed, I had to write a limited chess program, that only supported two kinds of pieces. It needed a project structure, a data model, valid movements for the pieces, and tests. I started from nothing, and had to be send the solution in within two hours.
I've written programs to play chess and I doubt I could do this in 2 hours. If I did do it, it would be horrible buggy code.
- riku_iki 3y agoIf strategy requirements are low, I think this task is very solvable under 2h, it sounds like very mechanical and straightforward implementation.
- Tommah 3y agoI was doing something like this recently, where I implemented movements for the kings and rooks. I didn't even implement check or checkmate; basically, you win by capturing the king. I think that took me about 2.5 hours.