The-Marquis-Gaming / checkers-dojo

1 stars 4 forks source link

Smart Contracts: Add several jumps #10

Open gianalarcon opened 6 days ago

gianalarcon commented 6 days ago

Issue Overview

Proposed Solutions or Ideas

CollinsC1O commented 21 hours ago

Can I take care of this issue?

Bosun-Josh121 commented 21 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged:

software engineering background, backend & smart contract dev with contribution to similar tasks(https://app.onlydust.com/u/Josh-121)(mancala) looking to make first contribution on this project

I'm willing to take on this task, have some experience in developing board games, I work on feedback & recommendation ensuring contact.

Supa-mega commented 21 hours ago

Could I take a shot at this?

manlikeHB commented 21 hours ago

Hi, I am a Cairo developer with great experience contributing to lots of Cairo code base.

I will go through the codebase then propose a solution and implement.

ETA - 4 days

ShantelPeters commented 20 hours ago

I am web3 developer with strong background in Cairo Can I please attempt this issue?

SoarinSkySagar commented 20 hours ago

May I work on this @gianalarcon?

I am a cairo developer with extensive experience and a regulr contributor at @keep-starknet-strange.

eta: 3 days

baitcode commented 19 hours ago

Hi! I'm a cairo dev with passion for gamedev. I'd love to tackle the issue as I've wanted to get more experience with dojo. I'm unsure If I understood task correctly. I've glanced through code quickly and would propose to add new api for sequential jumps that allows to build jump path checking valid jumps one by one and then commit to it. Otherwise I can update is jump possible method to include all coordinates that piece can get to through sequence of moves. And then implement the movement.

saimeunt commented 14 hours ago

Hey I'd like to implement this one, I'll implement the new feature which is enabling successive jumps in a single player turn, and add all the necessary tests.

Bosun-Josh121 commented 14 hours ago

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged:

software engineering background, backend & smart contract dev with contribution to similar tasks(https://app.onlydust.com/u/Josh-121)(mancala) looking to make first contribution on this project

I'm willing to take on this task, have some experience in developing board games, I work on feedback & recommendation ensuring contact.

https://app.onlydust.com/u/Bosun-Josh121

ikemHood commented 4 hours ago

Can I take this from here?

I have 1 year experience in game development, and 2+ years in smart contract development, I would modify the current simple jumps to allow for all possible checkers piece movements,

  1. Regular pieces:

    • Move diagonally forward one square
    • Jump diagonally forward over enemy pieces
  2. Kings/Queens:

    • Move diagonally in any direction (forward or backward)
    • Jump diagonally in any direction over enemy pieces

I would make sure to validate the movement steps, check if the jumps are available. Then, identify all possible jump scenarios

Test cases would cover edge cases like when the piece is at the edge of the board

kfastov commented 21 minutes ago

I am a blockchain developer with experience in Cairo I would add a method (or modify an existing one) to accept an array of jumps instead of a single one, checking it every jump is correct, and then modify the game flow and tests to match this logic. Also existing checks will be modified to check that all possible jumps are done.