Module nogo::io [] [src]

Functions

display_usage

display the correct usage of the game

get_game_arguments

Get the command line arguments for the game

get_player_move

The player can enter either a (row, column) pair, or w[full-path-to-save-file]. Handle either situation with proper validation

load_game_state

load the game state to a vector of lines

parse_player_strings_from_saved_file

parse the rest of the save file to generate a pair of points for both players

parse_save_file_metadata

parse the saved file metadata to reconstruct the game state

save_game_state

save the game to the given save file