{"id":20514567,"url":"https://github.com/lnvaldez/minimax-simulator","last_synced_at":"2025-07-12T21:34:17.174Z","repository":{"id":241632385,"uuid":"806689014","full_name":"lnvaldez/minimax-simulator","owner":"lnvaldez","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-09T15:33:53.000Z","size":3253,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-16T03:13:56.650Z","etag":null,"topics":["algorithm","fun","minimax","pygame","python","simulator","strategy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lnvaldez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-27T17:31:12.000Z","updated_at":"2025-06-14T19:01:22.000Z","dependencies_parsed_at":"2025-01-16T09:29:17.887Z","dependency_job_id":"5495d142-d918-45cf-b8cc-f87e0f270a13","html_url":"https://github.com/lnvaldez/minimax-simulator","commit_stats":null,"previous_names":["lnvaldez/minimax-simulator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lnvaldez/minimax-simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnvaldez%2Fminimax-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnvaldez%2Fminimax-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnvaldez%2Fminimax-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnvaldez%2Fminimax-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lnvaldez","download_url":"https://codeload.github.com/lnvaldez/minimax-simulator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lnvaldez%2Fminimax-simulator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265059453,"owners_count":23705218,"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":["algorithm","fun","minimax","pygame","python","simulator","strategy"],"created_at":"2024-11-15T21:17:07.706Z","updated_at":"2025-07-12T21:34:17.130Z","avatar_url":"https://github.com/lnvaldez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐱🐭 Cat and Mouse Simulator: Minimax Strategy\n\nThis project is a simulation of a cat and mouse chase, where the cat's objective is to catch the mouse, and the mouse's goal is to survive as long as possible. The simulation employs the Minimax algorithm to model intelligent behavior for both characters.\n\n- **Cat**: Uses Minimax strategy to minimize the distance to the mouse.\n- **Mouse**: Uses Minimax strategy to maximize the distance from the cat and avoid being caught.\n\n## ✏️ Features:\n\n- Grid-based simulation environment.\n- Mute button for toggling background music.\n- Visual representation of the cat and mouse.\n- Restart functionality to run multiple simulations.\n- Count functionality to track the number of rounds won by the cat and the mouse.\n\n## 🧑🏽‍💻 How to Run:\n\n```\ngit clone git@github.com:lnvaldez/Minimax-Simulator.git\ncd Minimax-Simulator\npip install pygame\npython main.py\n```\n\n\u003ch1 id=\"contributing\" align=\"center\"\u003e🤝 Contributing 🤝\u003c/h1\u003e\n\n- Feel free to [Fork](https://github.com/lnvaldez/Virtual-Pet-Bot/fork) this repository, create a feature branch and submit a pull request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnvaldez%2Fminimax-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flnvaldez%2Fminimax-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flnvaldez%2Fminimax-simulator/lists"}