diff options
author | Robby Zambito <contact@robbyzambito.me> | 2022-01-21 19:51:27 -0500 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2022-01-21 19:51:27 -0500 |
commit | 560016b243bc52f721153272a3809f6271215a25 (patch) | |
tree | 9d6b2873e30391917958d870dc84a0c99967ac45 /src/move.c | |
parent | e75be9264d86d2059ce6591295af246da2198301 (diff) |
Expose print-board to allow Scheme to print the board normally
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -286,6 +286,7 @@ struct move get_scm_move(char *strategy_path) { scm_c_define_gsubr("apply-move", 1, 2, 0, scm_apply_move); scm_c_define_gsubr("get-winner", 2, 0, 0, scm_get_winner); scm_c_define_gsubr("flipped-by-move", 1, 2, 0, scm_get_num_flipped_by_move); + scm_c_define_gsubr("print-board", 0, 1, 0, scm_print_board); // Read the move from scheme SCM scm_move = scm_c_primitive_load(strategy_path); |