domino tiles

domino tiles random matrix, filling the matrix like in the game "snake"

Al momento, stai seguendo questo contributo

Create a random matrix of a non-intercepting snake, like the game ("worm" or "snake"). Also described by filling a chessboard with dominos, except now the board can be rectangular, or any arbitrary shape (by changing the boarders).

Uses an infinite loop to enumerate possibilities. There are a finite number of solutions for a given matrix size. Computation time grows based on size of matrix.

Code is documented.

Cita come

ben payne (2026). domino tiles (https://it.mathworks.com/matlabcentral/fileexchange/21720-domino-tiles), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.2.0.0

Added more documentation. pre-allocated two arrays for increased speed.

1.1.0.0

based on user feed back I added an "H1" line and added some documentation. Also updated description and added tags.

1.0.0.0