{"id":18728754,"url":"https://github.com/rubyonworld/goal","last_synced_at":"2026-04-21T05:32:14.458Z","repository":{"id":174007921,"uuid":"542162314","full_name":"RubyOnWorld/goal","owner":"RubyOnWorld","description":"RubyGoal is a game in which you will be coaching your football team.","archived":false,"fork":false,"pushed_at":"2022-09-28T01:06:30.000Z","size":1024,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T14:26:18.946Z","etag":null,"topics":["football","game","goal","rails","ruby","team"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubyOnWorld.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-27T15:38:35.000Z","updated_at":"2022-09-28T03:59:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"99cb086e-14a8-4cfd-a359-9fec810cc2fe","html_url":"https://github.com/RubyOnWorld/goal","commit_stats":null,"previous_names":["rubyonworld/goal"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fgoal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fgoal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fgoal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fgoal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubyOnWorld","download_url":"https://codeload.github.com/RubyOnWorld/goal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239599039,"owners_count":19665911,"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":["football","game","goal","rails","ruby","team"],"created_at":"2024-11-07T14:24:15.596Z","updated_at":"2026-04-21T05:32:09.426Z","avatar_url":"https://github.com/RubyOnWorld.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/wyeworks/rubygoal.png)](https://travis-ci.org/wyeworks/rubygoal)\n[![Code Climate](https://codeclimate.com/github/wyeworks/rubygoal.png)](https://codeclimate.com/github/wyeworks/rubygoal)\n[![Inline docs](http://inch-ci.org/github/wyeworks/rubygoal.png?branch=master)](http://inch-ci.org/github/wyeworks/rubygoal)\n\n#Welcome to RubyGoal!\n\n## What is RubyGoal?\n\nRubyGoal is a game in which you will be coaching your football team.\n\nYou will be coding your strategy in RUBY :D .\n\n## Dependencies\n\nGNU/Linux, Make sure you have all dependencies installed.\n\nUbuntu/Debian:\n\n```bash\n# Gosu's dependencies for both C++ and Ruby\nsudo apt-get install build-essential libsdl2-dev libsdl2-ttf-dev\nlibpango1.0-dev \\\n                     libgl1-mesa-dev libfreeimage-dev libopenal-dev\n                     libsndfile-dev\n```\n\nFor other distros:  https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux\n\n## How do i run it?\n\n```bash\ngem install rubygoal\n```\n\nRun the game with example `CoachDefinition`\n```bash\nrubygoal\n```\n\nRun the game with your custom `CoachDefinition` implementation\n```bash\nrubygoal coach_1.rb\n```\n\nRun the game with your home and away `CoachDefinition` implementations\n```bash\nrubygoal coach_1.rb coach_2.rb\n```\n\nIf you want to run the game from the source code, clone the project and\nrun the following commands:\n\n```bash\nBUNDLE_GEMFILE=Gemfile.dev bundle install\nBUNDLE_GEMFILE=Gemfile.dev bundle exec ruby gui/bin/rubygoal [coach_file] [coach_file]\n```\n\nAlso, you can simulate a game without the GUI by running\n\n```bash\nbundle install\nbundle exec ruby bin/rubygoal [coach_file] [coach_file]\n```\n\nWhen you simuate a game, a JSON file is created in the same folder. You\ncould run this using our experiment webcomponent to play Rubygoal in the\nweb: https://github.com/jmbejar/rubygoal-webplayer\n\n## How do i write my own coach class?\n\nYou can find a complete guide explaining how to program a coach in\nwww.rubygoal.com\n\nAditionally, you can take a look to the already defined `CoachDefinition` at\n`lib/rubygoal/coach_definition`.\nSpecially pay attention to the example coaches in `lib/rubygoal/coaches/`\n\n\n## Legal\nAll source code, except the files under the `media/` folder, is\nlicensed under the Apache License 2.0. Please see the `LICENSE` file under\nthe gem root folder.\n\nAll media files under the `media/` folder are licensed under the Creative\nCommons 4.0 Attribution license. Please see https://creativecommons.org/licenses/by/4.0/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fgoal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyonworld%2Fgoal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fgoal/lists"}