Project Finished - #767
Conversation
🚀 Project Submitted!Thanks for submitting your project! I will review it soon. 📋 Please check the dashboard to make sure the project is marked as Pending. |
|
@SamuelCabeza Project approved! 😄✅ Very cool implementation of the math game with the difficulty levels dictated by time to answer the questions. I don't think I've seen that approach, very original 😊 🥋And congratulations! You got your Green belt!! 🟢🟢 👩🏫Feedback🔍️There is an important menu bug: but GetDifficultyLevel() only accepts values from 1 through 5: 🔍One thing worth noting is your comment: Using AI assistance isn't inherently a problem, but make sure you can explain how Stopwatch, Console.KeyAvailable, Console.ReadKey(intercept: true), and the timeout loop work. That's where the learning value of using assisted code comes from. 🔍You repeatedly create Random instances. It's better to have one shared instance: and reuse it throughout the application. Random.Shared is another simple modern option. 🔍Your timer calculation also works, but nested ternaries become difficult to read: A switch expression would communicate the mapping more clearly: 🕵️♀️Also, have a look at our style guide since there are a few issues in your code. e.g. lots of unnecessary comments, as per picture below. You can read our code conventions here🤓.
🧐Challenges ReviewYou’ve actually extended the standard Math Game quite nicely. ✅The difficulty levels are a good addition, particularly because they have meaningful consequences rather than simply changing a label: ✅ The timer implementation is also a substantial extra feature. It handles character input, backspace, Enter, and timeout without leaving an unfinished asynchronous read hanging around. ✅ Your Expert/random game mode is another good extension. Randomizing the operation independently for every question makes that mode meaningfully different from the standard games. 🗺️ Suggested next stepI noticed that you haven't completed any of our courses yet. I suggest you try our Intro to Object Oriented Programming course next. This will close gaps in your knowledge and give you more confidence about OOP ☕If you like our roadmap, please consider buying us a coffee. We appreciate your help 🙂 Overall great work!✋🏻Looking forward to seeing your next projects! |

I did all by myself without viewing the youtube guide. (Except for the method in which i asked claude cause i didn't know how to do the timer thing).