{"id":26409327,"url":"https://github.com/barandev/c-coding-game","last_synced_at":"2025-03-17T19:19:59.274Z","repository":{"id":225039096,"uuid":"711309588","full_name":"BaranDev/c-coding-game","owner":"BaranDev","description":"C Code Challenge Game: Improve C programming through code writing, compilation, and scoring in a fun, educational challenge-based environment.","archived":false,"fork":false,"pushed_at":"2023-10-28T21:06:41.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-29T01:25:31.621Z","etag":null,"topics":["c","coding","codinggame","compiler","consolegame","game"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaranDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-28T21:01:35.000Z","updated_at":"2024-02-29T01:25:34.065Z","dependencies_parsed_at":"2024-02-29T01:35:35.440Z","dependency_job_id":null,"html_url":"https://github.com/BaranDev/c-coding-game","commit_stats":null,"previous_names":["barandev/c-coding-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2Fc-coding-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2Fc-coding-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2Fc-coding-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaranDev%2Fc-coding-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaranDev","download_url":"https://codeload.github.com/BaranDev/c-coding-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244094267,"owners_count":20397020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","coding","codinggame","compiler","consolegame","game"],"created_at":"2025-03-17T19:19:58.824Z","updated_at":"2025-03-17T19:19:59.246Z","avatar_url":"https://github.com/BaranDev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C Code Challenge Game\n\nWelcome to the C Code Challenge Game! This game is designed to help you improve your C programming skills by solving coding challenges and testing your code against predefined solutions. You can choose between two categories: \"Loops\" and \"Arrays.\" Each category includes various challenges that will test your knowledge and coding abilities.\n\n## Getting Started\n\n1. Clone or download this repository to your local machine.\n\n2. Compile the code:\n   - To compile the game, use the following command:\n     ```\n     gcc game.c -o game\n     ```\n\n3. Run the game:\n   - Start the game with the following command:\n     ```\n     ./game\n     ```\n\n## How to Play\n\n1. Choose a category:\n   - You can select between \"Loops\" or \"Arrays.\" Each category offers unique coding challenges.\n\n2. Solve the challenge:\n   - After choosing a category, you'll receive a coding challenge. Write your C code to solve the challenge.\n\n3. Test your code:\n   - Once you've written your solution, save it by typing \"EOF\" on a new line. The game will then compile and run your code to check if it meets the challenge requirements.\n\n4. Get your score:\n   - The game will evaluate your code and display a success rate as a percentage.\n\n5. Keep practicing:\n   - You can try the challenge again to improve your skills.\n\n## Supported Categories and Challenges\n\n### Loops\n\nChoose the \"Loops\" category to practice loops in C programming. Challenges in this category include:\n\n- Printing numbers using `for` loops.\n- Calculating factorials.\n- Printing the Fibonacci series.\n- and many more!\n\n### Arrays\n\nSelect the \"Arrays\" category to practice working with arrays in C. Challenges include:\n\n- Initializing and printing arrays.\n- Finding maximum and minimum values.\n- Calculating sums and averages.\n- and more!\n\n## Challenge Feedback\n\nThe game provides feedback on your code's success rate and helps you learn from your mistakes. You can keep practicing and refining your skills.\n\n## Enjoy the Game!\n\nI hope you enjoy playing the C Code Challenge Game. Feel free to contribute, add new challenges, or make improvements to the game. Happy coding!\n\n## P.S.\n\nAt this point there are nearly 20 questions for only 2 subjects. But i will add many more in the future!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarandev%2Fc-coding-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarandev%2Fc-coding-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarandev%2Fc-coding-game/lists"}