{"id":18474423,"url":"https://github.com/codecop/fizzbuzz-with-nothing-kata","last_synced_at":"2025-07-24T23:12:19.802Z","repository":{"id":141738853,"uuid":"534101528","full_name":"codecop/FizzBuzz-with-Nothing-Kata","owner":"codecop","description":"Exercise to practice working with functions.","archived":false,"fork":false,"pushed_at":"2022-09-08T16:10:01.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-16T19:33:29.623Z","etag":null,"topics":["exercise","functional-programming","kata","lambda-calculus"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecop.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,"publiccode":null,"codemeta":null}},"created_at":"2022-09-08T07:34:21.000Z","updated_at":"2022-11-16T12:40:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"38e165eb-0b29-43ef-85a8-815e0e1081da","html_url":"https://github.com/codecop/FizzBuzz-with-Nothing-Kata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FFizzBuzz-with-Nothing-Kata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FFizzBuzz-with-Nothing-Kata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FFizzBuzz-with-Nothing-Kata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecop%2FFizzBuzz-with-Nothing-Kata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecop","download_url":"https://codeload.github.com/codecop/FizzBuzz-with-Nothing-Kata/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253960052,"owners_count":21990798,"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":["exercise","functional-programming","kata","lambda-calculus"],"created_at":"2024-11-06T10:29:25.126Z","updated_at":"2025-05-13T14:30:24.375Z","avatar_url":"https://github.com/codecop.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FizzBuzz with Nothing Kata\n\nExercise to practice working with functions.\n\n## Assignment: FizzBuzz\n\nWrite a program that prints the numbers from 1 to 100.\nBut for multiples of three print \"Fizz\" instead of the number and \nfor the multiples of five print \"Buzz\".\nFor numbers which are multiples of both three and five print \"FizzBuzz\".\n\n### Sample Solution\n\n    for (int i = 1; i \u003c= 100; i++) {\n        if (i % 3*5 == 0) \n            print(\"FizzBuzz\");\n        else if (i % 3 == 0) \n            print(\"Fizz\");\n        else if (i % 5 == 0) \n            print(\"Buzz\");\n        else \n            print(Integer.toString(i));\n    }\n\n## Constraint: With Nothing\n\nWe are allowed to\n\n* Create functions with one argument\n* Call functions and return a result\n* Assign functions to names (abbreviate as constants)\n\nWe are not allowed to\n\n* Use numbers, booleans, strings, arrays, etc.\n* Create objects, control flow, assignment, etc.\n* Use the Standard Library\n\n## Your Task\n\nImplement FizzBuzz \"with nothing\". Buw how do we represent numbers, booleans, etc. using no data, only code? All we can do is make or call a function. This exercise is hard. \n\n### What do we need for FizzBuzz\n\n* Numbers: constant values 0, 1, 3, 5, 15, 100; Adding 1, Mod (needs Div needs Sub)\n* Booleans: True, False, If-Then-Else, a loop; predicates to compare two numbers \u003c=, equality to zero\n* Characters (are numbers using ASCII)\n* Strings (needs List needs Pair)\n* Print strings (use \u003ci\u003eConsole.log\u003c/i\u003e)\n* Convert numbers to string\n\n## License\n\n[BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause), see `LICENSE` in repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecop%2Ffizzbuzz-with-nothing-kata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecop%2Ffizzbuzz-with-nothing-kata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecop%2Ffizzbuzz-with-nothing-kata/lists"}