{"id":20041533,"url":"https://github.com/calebccff/geneticfighting","last_synced_at":"2025-03-02T07:13:25.116Z","repository":{"id":110396950,"uuid":"111198894","full_name":"calebccff/GeneticFighting","owner":"calebccff","description":"My computer science A level project - in which a genetic algorithm learns to fight!","archived":false,"fork":false,"pushed_at":"2018-06-21T16:27:36.000Z","size":345,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T19:27:09.028Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Processing","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/calebccff.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":"2017-11-18T11:10:48.000Z","updated_at":"2018-06-21T16:27:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ff144d6-931b-4f6e-bdfc-97351d62ca74","html_url":"https://github.com/calebccff/GeneticFighting","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/calebccff%2FGeneticFighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2FGeneticFighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2FGeneticFighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebccff%2FGeneticFighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebccff","download_url":"https://codeload.github.com/calebccff/GeneticFighting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241470401,"owners_count":19968041,"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-13T10:47:01.339Z","updated_at":"2025-03-02T07:13:25.087Z","avatar_url":"https://github.com/calebccff.png","language":"Processing","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeneticFighting\nMy computer science A level project - in which a genetic algorithm learns to fight!\n\n### About\nThis is a project dedicated to utilising a genetcic algorithm in order to train neural networks how to fight each other in a simulation.\nI WON'T be adding user vs computer functionality but if you feel like forking it and doing that yourself that would be awesome.\n\nWhen the program starts you get a java JFrame window which (will) contains lots of configuration options in order to easily customise the simulation.\n---\n*For Example:*\n\nYou can adjust the number of consecutive games (more is generally better but it will run slower).\n\nYou can change the number of hidden layers (and the size) in the NN (could lead to an increase in FPS).\n\nYou can change how the fitness function works, to encourage specific attributes such as moving, shooting or slightly more complex things.\n\nYou can adjust various constants such as the time allowed for each game, mutation rate, the percentage of fighters to use to breed the next generation, and the min/max values for the synapses.\n\nIt will also be possible to adjust how the breed function works, for example is a fighters fitness affected by how it compares to it's parents etc.\n\n### Bugs\nAs of yet, I have not discovered any game-breaking bugs so to speak, however some functionality may not work as you expect.\nFor example, on Linux it is possible to set the canvas size to -1 an essentially hide it, this is a very hacky method and I don't know if it works on Windows.\nIf you find any bugs and want to let me know it would be greatly appreciated.\n\n## Details\nI will list my full dissertation with this project when it is complete.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebccff%2Fgeneticfighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebccff%2Fgeneticfighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebccff%2Fgeneticfighting/lists"}