SergioB-dev / rust-regex-pro

CLI Regex Trainer - A collaborative rust project for regex enthusiasts
0 stars 2 forks source link

Implemented increment function #16

Open Gabriel-Rosmart opened 2 years ago

Gabriel-Rosmart commented 2 years ago

Implemented a basic increment function, based on the level of difficulty of the game. Need to see how to pass a Level parameter to function since it got nowhere to get this information from

SergioB-dev commented 2 years ago

Hi @Gabriel-Rosmart. Good point. While there is no concrete way to implement it, there are some general guidelines as to how we'd like to implement this function. I think reading this will help clarify some things. Essentially we need to make the two functions totally independent of one another by one of the methods mentioned in the linked issue. Please let me know if you have any other questions.

Also running cargo fmt should fix some linting issues.