Code Reference - modes.c

Allocating and setting up the board array, with a function for each game mode which is run on startup of when the board is reconfigured.

Author

Copyright (C) 2019 Oliver Galvin

Defines

BOARD
REFLECT(x, y, T)

Functions

static square_t **alloc_board(int n)

Allocate memory to, and initialise, the board.

int build_board_std(square_t ***board)

Set up a standard scrabble-style board arrangement.