Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Added update current turn after proc raise is called #14

Merged
merged 25 commits into from
May 21, 2024

Conversation

Created-for-a-purpose
Copy link
Collaborator

No description provided.

@@ -560,7 +560,7 @@ async fn assert_slot_status_raise(
assert_eq!(
game_account_storage.get_item(slot_index),
RpoDigest::new([
Felt::from(slot_data.current_turn_index()),
Felt::from(slot_data.current_turn_index() + 13),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we name this offset (13) ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in the latest PR

Felt::from(slot_data.current_turn_index() + PLAYER_STATS_SLOTS),

Created-for-a-purpose and others added 9 commits May 20, 2024 15:05
Feat: Adding end-to-end test for testing overall flow
Feat: Add proc bet for small and big blind
Feat: Added update current turn and update phase logic in proc check
Feat: Added update current turn and update phase logic in proc fold
Added update current turn and update phase logic in proc call
Copy link
Member

@nlok5923 nlok5923 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Work!

@nlok5923 nlok5923 merged commit e1fd0dd into main May 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants