{"id":27439032,"url":"https://github.com/amirabdollahi/reversi","last_synced_at":"2026-02-18T23:31:57.459Z","repository":{"id":287887748,"uuid":"965459285","full_name":"AmirAbdollahi/reversi","owner":"AmirAbdollahi","description":"A simple desktop version of the classic Reversi (Othello) game built with C# and Windows Forms, featuring both Human vs Human and Human vs Computer modes. It’s a fun project and a great learning resource for C# developers interested in game logic, UI design, and basic AI.","archived":false,"fork":false,"pushed_at":"2025-04-14T12:58:23.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T10:01:35.082Z","etag":null,"topics":["ai","board-game","csharp","desktop-application","dotnet","game-development","othello","reversi","turn-based-game","windows-forms"],"latest_commit_sha":null,"homepage":"","language":"C#","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/AmirAbdollahi.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,"zenodo":null}},"created_at":"2025-04-13T08:00:48.000Z","updated_at":"2025-04-28T12:17:18.000Z","dependencies_parsed_at":"2025-04-14T14:06:22.432Z","dependency_job_id":null,"html_url":"https://github.com/AmirAbdollahi/reversi","commit_stats":null,"previous_names":["amirabdollahi/reversi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmirAbdollahi/reversi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAbdollahi%2Freversi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAbdollahi%2Freversi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAbdollahi%2Freversi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAbdollahi%2Freversi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmirAbdollahi","download_url":"https://codeload.github.com/AmirAbdollahi/reversi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmirAbdollahi%2Freversi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271760526,"owners_count":24816442,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"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":["ai","board-game","csharp","desktop-application","dotnet","game-development","othello","reversi","turn-based-game","windows-forms"],"created_at":"2025-04-14T21:18:34.268Z","updated_at":"2026-02-18T23:31:57.410Z","avatar_url":"https://github.com/AmirAbdollahi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Reversi Game\n\nA simple yet functional implementation of the classic **Reversi (Othello)** board game using **Windows Forms** in **C#**.\n\n## 🕹️ About the Game\n\nReversi is a strategy board game for two players, played on an 8×8 uncheckered board. The game pieces have two sides: black and white. Players take turns placing their discs, flipping the opponent's discs by trapping them between two of their own.\n\n## 🎮 Game Modes\n\n- 👥 **Human vs Human** – Play locally with a friend.\n- 🤖 **Human vs Computer** – Challenge a basic AI opponent.\n\n## 📷 Screenshots\n\n![image](https://github.com/user-attachments/assets/60e746d5-b206-4a29-b828-0dac2e1fac8c)\n\n![image](https://github.com/user-attachments/assets/0e8d794d-1c31-4a10-8ba0-f57024c4b5d8)\n\n## 🛠 Features\n\n- Classic 8x8 Reversi gameplay\n- Two game modes: Player vs Player and Player vs AI\n- Turn-based play with valid move logic\n- Automatic disc flipping\n- Game over detection and winner announcement\n- Simple and clean UI built with Windows Forms\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- [.NET Framework 4.8](https://dotnet.microsoft.com/en-us/download/dotnet-framework/net48)\n- Visual Studio 2019 or later (recommended)\n\n### Running the Project\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/AmirAbdollahi/reversi.git\n   ```\n\n2. Open the solution file `Reversi.sln` in Visual Studio.\n\n3. Build and run the project using `F5` or from the **Debug** menu.\n\n## 📁 Project Structure\n\n```\nReversi/\n├── GameBoard.cs           # Game logic and board state\n├── Form1.cs               # Main Windows Form UI\n├── Program.cs             # Entry point\n├── Resources/             # Images or assets\n└── Reversi.sln            # Solution file\n```\n\n## 📚 How to Play\n\n1. Choose your preferred game mode at startup.\n2. The black player starts first.\n3. Each player must place a disc that flips at least one opponent disc.\n4. Turns alternate until neither player can move.\n5. The player with the most discs on the board wins.\n\n## ✅ To-Do / Future Improvements\n\n- Improve AI difficulty and strategy\n- Implement game save/load features\n- Enhance UI/UX design\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit pull requests or open issues for suggestions and improvements.\n\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## 🙋‍♂️ Author\n\nDeveloped by [Amir Abdollahi](https://github.com/AmirAbdollahi)\n\n---\n\nEnjoy playing Reversi, whether you're battling a friend or testing your skills against the computer!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirabdollahi%2Freversi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirabdollahi%2Freversi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirabdollahi%2Freversi/lists"}