{"id":19212450,"url":"https://github.com/fasterthanlime/teeworlds-ai","last_synced_at":"2025-05-12T20:40:55.568Z","repository":{"id":685914,"uuid":"329879","full_name":"fasterthanlime/teeworlds-ai","owner":"fasterthanlime","description":"An attempt to add bots to teeworlds-0.5.1 =)","archived":false,"fork":false,"pushed_at":"2013-11-27T20:59:21.000Z","size":11540,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-02T06:11:06.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://teeworlds.com","language":"C","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/fasterthanlime.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-10-07T16:19:53.000Z","updated_at":"2024-01-10T01:29:51.000Z","dependencies_parsed_at":"2022-08-16T10:40:46.741Z","dependency_job_id":null,"html_url":"https://github.com/fasterthanlime/teeworlds-ai","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/fasterthanlime%2Fteeworlds-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fteeworlds-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fteeworlds-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fasterthanlime%2Fteeworlds-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fasterthanlime","download_url":"https://codeload.github.com/fasterthanlime/teeworlds-ai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223835394,"owners_count":17211158,"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":[],"created_at":"2024-11-09T13:47:02.464Z","updated_at":"2024-11-09T13:47:03.103Z","avatar_url":"https://github.com/fasterthanlime.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"A few AIs for Teeworlds.\n\nHow to use\n==========\n\nIt's just a few hooks added in controls.cpp, so you have to use a modified client.\nThese sources are from their 0.5.1 release.\n\nYou need 'bam' to build teeworlds, and GNU make, to launch the Makefile.\n'bam' is a build tool that's been created for teeworlds. You can download\nand compile it here: http://teeworlds.com/trac/bam/\n\nNOTE: The 'bam' produced executable is actually in bam-0.x.x/src/\nYeah, that seems incredibly dumb, but that's true =)\n\nThen, type \"make\" to build Teeworlds and the AIs, or \"make test\" to do the same + launch the client.\nthe \"./teeworlds_d\" produced executable is a regular client, so just connect to your\nfavorite server (bots aren't welcome outside LAN servers, as far as I know, on Internet you'll be banned.)\n\n\nAdding your AI\n==============\n\nAdd a XXXXAI.ooc file in ooc-ai/, and add it an XXXXAI: class extends AI\nJust take example on NddAI.ooc, or look at the methods in AI.ooc\n\nThen in ooc-ai/ooc-ai.ooc, change the getAI() method to instanciate your\nAI instead. (And don't forget to import it, you silly)\n\nFinal words\n===========\n\nHave fun! Don't be evil =) Bots-vs-bots fights are fun, don't be silly\nand don't use them against (innocent) humans. If you do so, you only show\nthat you don't know how to play yourself ;)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Fteeworlds-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasterthanlime%2Fteeworlds-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterthanlime%2Fteeworlds-ai/lists"}