Difference between revisions of "Talk:3020: Infinite Armada Chess"
(Out of bounds error vs out of memory error.) |
|||
| Line 7: | Line 7: | ||
Well, yes but I wonder if just one tiny fix is needed. If you replace the white side with a simplyfied artillery tower, you reinvented space invaders. | Well, yes but I wonder if just one tiny fix is needed. If you replace the white side with a simplyfied artillery tower, you reinvented space invaders. | ||
| + | |||
| + | I was personally hoping for an explanation of the Infinite Armada thing, and I feel like a link to the TV Tropes page doesn't really. Explain that at all. So I would love a bit of an expansion on that part! Just want to be sure I didn't miss some reference or something. [[Special:Contributions/172.68.23.91|172.68.23.91]] 05:48, 5 December 2024 (UTC) | ||
== Out of bounds error == | == Out of bounds error == | ||
I think that since the error was "out of bounds", not "out of memory", it's referring to indexing outside of the region of memory that the program allocated to deal with the board. This would happen since instead of addressing rank 1..8, you could address rank 9, 10, 0, or -1. Unless bounds checking is performed when converting the board coordinates into linear array indices, you'd get an out-of-bounds error (or worse, succeed in reading or modifying memory that you weren't intending to). --[[Special:Contributions/172.71.30.253|172.71.30.253]] 05:45, 5 December 2024 (UTC) | I think that since the error was "out of bounds", not "out of memory", it's referring to indexing outside of the region of memory that the program allocated to deal with the board. This would happen since instead of addressing rank 1..8, you could address rank 9, 10, 0, or -1. Unless bounds checking is performed when converting the board coordinates into linear array indices, you'd get an out-of-bounds error (or worse, succeed in reading or modifying memory that you weren't intending to). --[[Special:Contributions/172.71.30.253|172.71.30.253]] 05:45, 5 December 2024 (UTC) | ||
Revision as of 05:48, 5 December 2024
Did I do well?
Added a very very basic explanation. 172.68.147.132 04:25, 5 December 2024 (UTC)
Well, yes but I wonder if just one tiny fix is needed. If you replace the white side with a simplyfied artillery tower, you reinvented space invaders.
I was personally hoping for an explanation of the Infinite Armada thing, and I feel like a link to the TV Tropes page doesn't really. Explain that at all. So I would love a bit of an expansion on that part! Just want to be sure I didn't miss some reference or something. 172.68.23.91 05:48, 5 December 2024 (UTC)
Out of bounds error
I think that since the error was "out of bounds", not "out of memory", it's referring to indexing outside of the region of memory that the program allocated to deal with the board. This would happen since instead of addressing rank 1..8, you could address rank 9, 10, 0, or -1. Unless bounds checking is performed when converting the board coordinates into linear array indices, you'd get an out-of-bounds error (or worse, succeed in reading or modifying memory that you weren't intending to). --172.71.30.253 05:45, 5 December 2024 (UTC)
