Skip to content
Snippets Groups Projects
Commit 8016548c authored by dario.genga's avatar dario.genga
Browse files

Refactor the code

- Created the search_optimal_action method to avoid duplicated code in
the smart_play method.
- Added a print_help method to help the user when using the program.
- Simplified the main.c file in order to use only one method when
playing instead of three.
- Added some comments.
- Performed various small adjustement for more code clarity.
parent 28015cae
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment