DanielBarton446 / DanielBarton446/rust-go

[bug]: Edge Stones not being captured

Open
#17 0 comments 0 reactions 0 assignees Claimed by @DanielBarton446 View on GitHub
bug
Dominant language
Rust
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

![image](https://github.com/DanielBarton446/rust-go/assets/47621061/8fe27279-ddd1-43b4-a3bf-796688076d71)

Edge stones are not being captured like corner stones or middle stones are.

### Steps to reproduce

1. Run the game
2. place a victim single stone at any of the edges, but not corners
3. place opponent stones around to capture said victim stone
4. Find the bug

### Expected behavior

The victim stone should be captured.

### Additional information

_No response_

### Operating system

Linux

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the game on Linux and reproduce the issue using the listed steps: place a single stone on a non-corner edge, then surround it with opponent stones. Trace the capture handling for edge positions and compare it with corner and middle stones; done means the edge victim stone is captured as expected. An open linked pull request (#18) indicates that work is already underway.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.