Jump to content

2D lists: Difference between revisions

Improved wording
(Added a link to the List page)
(Improved wording)
Tags: Mobile edit Mobile web edit
 
Line 1: Line 1:
'''Two-dimensional [[list]]''' is mostly used in creating a game that involves a board or a grid such as [[Chess]], [[Reversi]], Checkers, Tetris, Battleship, [[1024|2048]] and so on.
'''Two-dimensional [[list]]''' is often used in creating a game that involves a board or a grid such as [[Chess]], [[Reversi]], Checkers, Tetris, Battleship, [[1024|2048]] and so on.


In a technical term, 2D list is called as an '''array of arrays''' or also known as a '''matrix''' which can be represented as a table of columns and rows.
In a technical term, 2D list is called as an '''array of arrays''' or also known as a '''matrix''' which can be represented as a table of columns and rows.