From a552112d1844360a09640dacce64413b471273ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Galv=C3=A1n=20=28Dub=29?= Date: Fri, 1 Nov 2024 15:01:27 +0100 Subject: [PATCH] remove challenge (#10) --- src/constants/challenge.cairo | 38 ++++++++++++------------- src/models/status/round/challenge.cairo | 2 +- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/src/constants/challenge.cairo b/src/constants/challenge.cairo index 165fb86..194d27c 100644 --- a/src/constants/challenge.cairo +++ b/src/constants/challenge.cairo @@ -15,27 +15,26 @@ const CHALLENGE_CLUBS: u32 = 13; const CHALLENGE_DIAMONDS: u32 = 14; const CHALLENGE_SPADES: u32 = 15; -const CHALLENGE_ONE: u32 = 16; -const CHALLENGE_TWO: u32 = 17; -const CHALLENGE_THREE: u32 = 18; -const CHALLENGE_FOUR: u32 = 19; -const CHALLENGE_FIVE: u32 = 20; -const CHALLENGE_SIX: u32 = 21; -const CHALLENGE_SEVEN: u32 = 22; -const CHALLENGE_EIGHT: u32 = 23; -const CHALLENGE_NINE: u32 = 24; -const CHALLENGE_TEN: u32 = 25; -const CHALLENGE_JACK: u32 = 26; -const CHALLENGE_QUEEN: u32 = 27; -const CHALLENGE_KING: u32 = 28; -const CHALLENGE_ACE: u32 = 29; +const CHALLENGE_TWO: u32 = 16; +const CHALLENGE_THREE: u32 = 17; +const CHALLENGE_FOUR: u32 = 18; +const CHALLENGE_FIVE: u32 = 19; +const CHALLENGE_SIX: u32 = 20; +const CHALLENGE_SEVEN: u32 = 21; +const CHALLENGE_EIGHT: u32 = 22; +const CHALLENGE_NINE: u32 = 23; +const CHALLENGE_TEN: u32 = 24; +const CHALLENGE_JACK: u32 = 25; +const CHALLENGE_QUEEN: u32 = 26; +const CHALLENGE_KING: u32 = 27; +const CHALLENGE_ACE: u32 = 28; -const CHALLENGE_JOKER: u32 = 30; +const CHALLENGE_JOKER: u32 = 29; -const CHALLENGE_500_POINTS: u32 = 31; -const CHALLENGE_1000_POINTS: u32 = 32; -const CHALLENGE_2000_POINTS: u32 = 33; -const CHALLENGE_5000_POINTS: u32 = 34; +const CHALLENGE_500_POINTS: u32 = 30; +const CHALLENGE_1000_POINTS: u32 = 31; +const CHALLENGE_2000_POINTS: u32 = 32; +const CHALLENGE_5000_POINTS: u32 = 33; fn challenges_all() -> Array { array![ @@ -54,7 +53,6 @@ fn challenges_all() -> Array { CHALLENGE_CLUBS, CHALLENGE_DIAMONDS, CHALLENGE_SPADES, - CHALLENGE_ONE, CHALLENGE_TWO, CHALLENGE_THREE, CHALLENGE_FOUR, diff --git a/src/models/status/round/challenge.cairo b/src/models/status/round/challenge.cairo index 0844935..e0f221e 100644 --- a/src/models/status/round/challenge.cairo +++ b/src/models/status/round/challenge.cairo @@ -5,7 +5,7 @@ use jokers_of_neon::constants::{ CHALLENGE_ROYAL_FLUSH, CHALLENGE_STRAIGHT_FLUSH, CHALLENGE_FIVE_OF_A_KIND, CHALLENGE_FOUR_OF_A_KIND, CHALLENGE_FULL_HOUSE, CHALLENGE_FLUSH, CHALLENGE_STRAIGHT, CHALLENGE_THREE_OF_A_KIND, CHALLENGE_DOUBLE_PAIR, CHALLENGE_PAIR, CHALLENGE_HIGH_CARD, CHALLENGE_HEARTS, CHALLENGE_CLUBS, CHALLENGE_DIAMONDS, CHALLENGE_SPADES, - CHALLENGE_ONE, CHALLENGE_TWO, CHALLENGE_THREE, CHALLENGE_FOUR, CHALLENGE_FIVE, CHALLENGE_SIX, CHALLENGE_SEVEN, + CHALLENGE_TWO, CHALLENGE_THREE, CHALLENGE_FOUR, CHALLENGE_FIVE, CHALLENGE_SIX, CHALLENGE_SEVEN, CHALLENGE_EIGHT, CHALLENGE_NINE, CHALLENGE_TEN, CHALLENGE_JACK, CHALLENGE_QUEEN, CHALLENGE_KING, CHALLENGE_ACE, CHALLENGE_JOKER, CHALLENGE_500_POINTS, CHALLENGE_1000_POINTS, CHALLENGE_2000_POINTS, CHALLENGE_5000_POINTS, challenges_all