{"id":50908272,"url":"https://github.com/unleashed/kgame","last_synced_at":"2026-06-16T07:04:21.333Z","repository":{"id":1741151,"uuid":"2566714","full_name":"unleashed/kgame","owner":"unleashed","description":"KGame scraper library","archived":false,"fork":false,"pushed_at":"2011-10-13T02:04:46.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-11T09:56:10.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/unleashed.png","metadata":{"files":{"readme":"README","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}},"created_at":"2011-10-13T01:53:08.000Z","updated_at":"2015-06-18T22:54:00.000Z","dependencies_parsed_at":"2022-08-03T15:45:08.717Z","dependency_job_id":null,"html_url":"https://github.com/unleashed/kgame","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/unleashed/kgame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unleashed%2Fkgame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unleashed%2Fkgame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unleashed%2Fkgame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unleashed%2Fkgame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unleashed","download_url":"https://codeload.github.com/unleashed/kgame/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unleashed%2Fkgame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34393306,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-06-16T07:04:20.139Z","updated_at":"2026-06-16T07:04:21.324Z","avatar_url":"https://github.com/unleashed.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"KGame scraper - An XGProyect game scraper library\n\nThis library connects to websites hosting XGProyect games (specifically\nv2.9.9 Rp1 ExTreme) and gets information on the current state of the\ngame.\n\nIt has been used to program robots (not included) that act upon the\ndifferent conditions that the game presents.\n\nDEPENDENCIES\n============\n\nRuby 1.9 (tested only on ruby 1.9.2) and the Mechanize gem (tested on 2.0.1).\n\nSTATUS\n======\n\nThe library scrapes most of the important production values of the game,\nand provides facilities to change the status of the player (eg: build new\ninfrastructure, research new technologies, etc).\n\nSome information gathering and capabilities are missing but are easily\nimplementable. This includes most of the flight information, fleets, and\nhangar and defense data. Someone should write those, and contributions are\nwelcome.\n\nThis library does not model any dependency between the game objects other\nthan basic ones like resource requirements, but it provides enough information\nfor an external program to use the data and order the library to perform\nactions based on that data.\n\nFor starters, an implementation of a robot which limits itself to keep\nbuilding mines and power plants is straightforward. More complicated\nrobots can implement some AI concepts to perform better decisions, such as\nexchanging some resources for others, transporting them between planets\nas needed, or maximizing the resource production through a combination of\nmine building, power plants and solar satellites, and other buildings.\n\nIf you ever write such a robot I'll be happy to accept patches for the\nlibrary (and possibly at least have a look at your robot or set apart\nan examples directory).\n\nERROR HANDLING\n==============\n\nBasically non-existant. Patches accepted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funleashed%2Fkgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funleashed%2Fkgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funleashed%2Fkgame/lists"}