News for hackers. Stuff that matters.
Re:Why Triplebyte Failed by itronitron on Monday June 10, 2024 @04:55PM (#40638975)
the problem is embedding game logic (game rules) into the matrix, which is a data structure, hence it is a data structure question
Re:Why Triplebyte Failed by josephg on Monday June 10, 2024 @06:27PM (#40639950)
You don’t need to embed game rules into the matrix to solve this problem. (What does that mean anyway?) Just store the board in a 2d array of some sort and write some functions to interact with it.
Re:Why Triplebyte Failed by itronitron on Tuesday June 11, 2024 @02:44PM (#40649907)
>> store the board in a 2d array of some sort and write some functions to interact with it

thereby making it a data structure problem

Re:Why Triplebyte Failed by josephg on Tuesday June 11, 2024 @03:21PM (#40650347)
That’s just not what a “data structure problem” commonly means. If it was, all programs would be data structure problems because all programs interact with data in some form.

A data structure problem is a problem where designing and implementing an appropriate data structure is in some way hard. A 2d array doesn’t fit the bill. It’s not exotic enough.