-
-
Notifications
You must be signed in to change notification settings - Fork 202
Add Hangman exercise in C track #1074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hey @MerveilleK1, is this still a work in progress? Are you looking to get feedback on your approach so far? |
Hey @ryanplusplus , yeah, there are still some tests to add, to cover all the functionnalities of the game. But yeah it would be nice to get a first feedback on the approach, Thanks. |
Hi @MerveilleK1, I'm not a maintainer on the C track but here are some notes:
|
Dear maintainers, This exercise was originally intended to be implemented and solved with Functional Reactive Programming (FRP) This makes the exercise hard to translate to non-FP languages. Sadly, I'm a beginner at best in functional programming languages and I know nothing about functional reactive programming (FRP). I don't know how FRP would look in C and how this exercise could be translated faithfully. Should we follow the example of the Python, PowerShell, and Tcl track and implement this exercise in a procedural style? |
Thanks @siebenschlaefer from the thorough review! You addressed all of the things that I noticed and several more.
I'm also not an expert in FRP or functional programming, but I have a little bit of experience. The FRP-style |
Hi @MerveilleK1 |
This is the Hangman game in C. It is based on other versions already available on Exercism, notably Python and Java. This is the first push and contains the C code structure, plus 3 basic tests.