{"id":19743380,"url":"https://github.com/jpenuchot/ocuttherope","last_synced_at":"2025-02-27T23:24:35.228Z","repository":{"id":147750303,"uuid":"90006139","full_name":"JPenuchot/OCutTheRope","owner":"JPenuchot","description":"OCaml implementation of the Cut The Rope game developed by Théophile Walter and Jules Pénuchot","archived":false,"fork":false,"pushed_at":"2017-05-12T19:41:51.000Z","size":1599,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T04:13:47.380Z","etag":null,"topics":["cut","game","ml","mlg","ocaml","rope","the"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JPenuchot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-05-02T07:49:37.000Z","updated_at":"2021-03-21T23:01:49.000Z","dependencies_parsed_at":"2023-05-28T06:45:10.359Z","dependency_job_id":null,"html_url":"https://github.com/JPenuchot/OCutTheRope","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/JPenuchot%2FOCutTheRope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPenuchot%2FOCutTheRope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPenuchot%2FOCutTheRope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JPenuchot%2FOCutTheRope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JPenuchot","download_url":"https://codeload.github.com/JPenuchot/OCutTheRope/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241072936,"owners_count":19904859,"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":["cut","game","ml","mlg","ocaml","rope","the"],"created_at":"2024-11-12T01:36:55.711Z","updated_at":"2025-02-27T23:24:35.200Z","avatar_url":"https://github.com/JPenuchot.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCutTheRope\nOCaml implementation of the Cut The Rope game\n\n## Requirements\n\n`ocamlbuild` and `ocamlfind` are both required to build this project. You can install them using OPAM.  \nThe level editor needs `python` to upload levels (for the input box)\n\nDependencies :\n\n-\tOCaml Graphics (standard library)\n-\tOCaml Str (standard library)\n-\t[Cohttp](https://github.com/mirage/ocaml-cohttp), install with `opam install cohttp lwt js_of_ocaml`\n\n## Build\n\nCompile with one of these options\n\n- `make debug ; ./game.byte`  \n  to compile and run main bytecode version\n- `make ; ./game.native`  \n  to compile and run main native version\n- `make test ; ./test.byte`  \n  to compile and run tests\n- `make expe ; ./expe.byte`  \n  to compile and run your experiments (warning: \"expe.ml\" is excluded by gitignore)  \n\n_Note that you must run `sprites/convert.sh` to generate the PPM files from PNG sprites (need ImageMagick)_\n\n## Execution\nRun the game with the command `./game.native [level.lvl] [-s theme]` You can specify a level file (optional) and a theme after `-s`. The defaults themes are `basic` `mario` and `ctr`. Respect the order.\n\n## To Do list\n\nThings to do (including ideas)\n\n- [X] Set up projet/configuration\n- [X] Sprites converting/loading (`sprites/{THEME}/convert.sh` `lib/ppm.ml`)\n- [X] Main file (`game.ml`)\n- [X] Physical engine\n- [X] Rendering (`lib/render.ml`)\n- [X] Management of game mechanics (`lib/gamemechanics.ml`)\n- [X] Levels management (loading/saving/data structure) (`level.ml`)\n- [ ] Unit tests (`test.ml`) -- FUCK TESTS, WE'RE USING OCAML NOT JAVA FFS\n- [X] WYSIWYG level editor and online level sharing (`editor.ml`)\n- [X] Level downloader (`download.ml`)\n- [ ] Remove secret NASA hacking code from our code\n\n---\n\n```\n(•_•)\n( •_•)\u003e⌐■-■\n(⌐■_■)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpenuchot%2Focuttherope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpenuchot%2Focuttherope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpenuchot%2Focuttherope/lists"}