{"id":17942624,"url":"https://github.com/petercamilleri/connect_n_game","last_synced_at":"2025-10-04T20:09:48.340Z","repository":{"id":62556164,"uuid":"43444542","full_name":"PeterCamilleri/connect_n_game","owner":"PeterCamilleri","description":"A simple connect N (4..8) game with some simple AI players.","archived":false,"fork":false,"pushed_at":"2021-05-19T19:47:54.000Z","size":12227,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T07:40:53.947Z","etag":null,"topics":["connect-four","game","ruby","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/PeterCamilleri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-30T16:29:23.000Z","updated_at":"2023-03-05T04:20:46.000Z","dependencies_parsed_at":"2022-11-03T06:00:28.820Z","dependency_job_id":null,"html_url":"https://github.com/PeterCamilleri/connect_n_game","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fconnect_n_game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fconnect_n_game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fconnect_n_game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fconnect_n_game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterCamilleri","download_url":"https://codeload.github.com/PeterCamilleri/connect_n_game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247008821,"owners_count":20868428,"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":["connect-four","game","ruby","tutorial"],"created_at":"2024-10-29T03:06:31.759Z","updated_at":"2025-10-04T20:09:43.303Z","avatar_url":"https://github.com/PeterCamilleri.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ConnectNGame\n\nThis gem is a connect game with flexible board sizes. The classical game is\na seven by six playing rack with a goal of four in a row. This game supports\nup to 14 by 12 rack with a goal of eight in a row.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'connect_n_game'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install connect_n_game\n\n## Usage\n\nFrom the command line simply type:\n\n    $ connect_n_game [options]\n\nTo embed the game in another program use:\n\n```ruby\nrequire 'connect_n_game'\n```\n\nand then {W.I.P.}\n\n### Options\n\nTo get help simply enter:\n\n    $ connect_n_game --help\n\nThe available options are:\n\n```\nWelcome to the Connect N Command Line Interface.\nThis is game version: 0.0.1.\n\nUsage info: connect_n_game \u003coptions\u003e\n\n--help, -h, -?      -- Display this message and quit.\n--player, -p \u003cname\u003e -- Select player or automaton 'name'\n                       Note: Limit of two players\n--order, -o \u003c4..8\u003e  -- The winning run length. Default=4\n--debug, -d         -- Display debug info.\n\nPlayer Selection:\n  Basic     Minimum tactical analysis.\n  Bruce     An actual player.\n  Echo      Really unoriginal.\n  Human     An actual player.\n  Middle    Moves toward the middle\n  Prudent   Minimum tactical analysis with some defense.\n  Random    Moves randomly.\n  Sheila    An actual player.\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/PeterCamilleri/connect_n_game/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](./LICENSE.txt).\n\n## Code of Conduct\n\nEveryone interacting in the fully_freeze project’s codebases, issue trackers,\nchat rooms and mailing lists is expected to follow the\n[code of conduct](./CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetercamilleri%2Fconnect_n_game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetercamilleri%2Fconnect_n_game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetercamilleri%2Fconnect_n_game/lists"}