{"id":15687495,"url":"https://github.com/tyleryep/wolfbot","last_synced_at":"2025-05-05T21:44:05.741Z","repository":{"id":57477780,"uuid":"131688471","full_name":"TylerYep/wolfbot","owner":"TylerYep","description":"One Night Ultimate Werewolf: AI Edition","archived":false,"fork":false,"pushed_at":"2025-05-05T18:44:39.000Z","size":6782,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-05T19:53:03.163Z","etag":null,"topics":["ai","deep-learning","game","one-night","player","reinforcement-learning","simulator"],"latest_commit_sha":null,"homepage":"","language":"Python","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/TylerYep.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,"zenodo":null}},"created_at":"2018-05-01T07:45:05.000Z","updated_at":"2025-02-11T08:52:28.000Z","dependencies_parsed_at":"2024-04-22T21:28:49.469Z","dependency_job_id":"ed0f2fc1-00c8-4ff7-8490-8cbefb536769","html_url":"https://github.com/TylerYep/wolfbot","commit_stats":{"total_commits":442,"total_committers":7,"mean_commits":"63.142857142857146","dds":"0.30316742081447967","last_synced_commit":"a7cf25c78b1a43a11e143c9719f82f423a987d67"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerYep%2Fwolfbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerYep%2Fwolfbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerYep%2Fwolfbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerYep%2Fwolfbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerYep","download_url":"https://codeload.github.com/TylerYep/wolfbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252582245,"owners_count":21771634,"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":["ai","deep-learning","game","one-night","player","reinforcement-learning","simulator"],"created_at":"2024-10-03T17:48:59.208Z","updated_at":"2025-05-05T21:44:05.702Z","avatar_url":"https://github.com/TylerYep.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WolfBot\n\n### One Night Ultimate Werewolf: AI Edition\n\nBy Tyler Yep \u0026 Harry Sha\n\n[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/release/python-3120/)\n[![Build Status](https://github.com/TylerYep/wolfbot/actions/workflows/test.yml/badge.svg)](https://github.com/TylerYep/wolfbot/actions/workflows/test.yml)\n[![GitHub license](https://img.shields.io/github/license/TylerYep/wolfbot)](https://github.com/TylerYep/wolfbot/blob/main/LICENSE)\n[![codecov](https://codecov.io/gh/TylerYep/wolfbot/branch/main/graph/badge.svg)](https://codecov.io/gh/TylerYep/wolfbot)\n\n## Introduction\n\nThis is an implementation of the popular board game One Night Ultimate Werewolf.\n\nTo try it out, run `python main.py` in the terminal.\n(You may need to run `pip install -r requirements.txt` first.)\n\nConstants, along with their use cases, are listed in wolfbot/const.py. You can change:\n\n- \\# of players\n- \\# of center cards\n- Which roles are used\n- Behavior of AI players on the Werewolf Team / Village Team\n\n## Interactive Mode\n\nTo play the game yourself as a character, use the `-u` / `--user` flag:\n\n```\npython main.py --user\n```\n\nTo replay a game, add the `-r` / `--replay` flag.\n\n```\npython main.py --user -r\n```\n\nTo examine verbose output of a game, use the `-l` / `--log_level` flag.\n\n```\npython main.py -l trace\n```\n\n## Simulating Games\n\nTo simulate many runs of the game, use the `-n` flag.\n\n```\npython main.py -n 100\n```\n\nor use the profiler:\n\n```\npython profiler.py\n```\n\nFor additional information, please check out the GitHub Wiki!\n\n# Contributing\n\nAll issues and pull requests are much appreciated!\n\n- First, run `pre-commit install`.\n- To see test coverage scripts and other auto-formatting tools, use `pre-commit run -a`.\n- To run all tests, run `pytest`.\n- To only run unit tests, run `pytest tests/unit_test`.\n- To only run integration tests, run `pytest tests/integration_test`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyleryep%2Fwolfbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftyleryep%2Fwolfbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftyleryep%2Fwolfbot/lists"}