CodeHarborHub / codeharborhub.github.io

Welcome to CodeHarborHub! Our mission is to provide accessible and comprehensive educational resources to learners of all levels, from beginners to advanced professionals. Whether you're looking to kickstart your career in web development, master a new programming language, or stay updated on the latest tech trends, we've got you covered.
https://codeharborhub.github.io/
MIT License
80 stars 163 forks source link

[Feature Request]: Add Othello game in Showcase #2615

Closed AsmitaMishra24 closed 2 months ago

AsmitaMishra24 commented 2 months ago

Is there an existing issue for this?

Feature Description

I want to add othello game project in showcase section.

Use Case

  1. Board Setup: Initializes an 8x8 game board with the initial four pieces placed in the center.
  2. Piece Placement: Allows players to place pieces on the board according to Othello rules.
  3. Legal Move Highlighting: Highlights squares where the current player can legally place a piece.
  4. Piece Flipping: Flips opponent's pieces in all directions as per the game rules when a piece is placed.
  5. Turn Switching: Alternates turns between the white and black players, with indicators for the active player.
  6. Score Tracking: Displays and updates the score for both players in real time.
  7. End Game Detection: Detects when the game ends and displays a message indicating the winner or if the game is a draw.
  8. No Legal Move Handling: Handles cases where a player has no legal moves and passes the turn to the opponent.

Benefits

No response

Add ScreenShots

2othello

Priority

High

Record

github-actions[bot] commented 2 months ago

Hi @AsmitaMishra24! Thanks for opening this issue. We appreciate your contribution to this open-source project. Your input is valuable and we aim to respond or assign your issue as soon as possible. Thanks again!

github-actions[bot] commented 2 months ago

Hello @AsmitaMishra24! Your issue #2615 has been closed. Thank you for your contribution!