Skip to content

Commit

Permalink
remove challenge (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzn authored Nov 1, 2024
1 parent 52b06f3 commit a552112
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 21 deletions.
38 changes: 18 additions & 20 deletions src/constants/challenge.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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<u32> {
array![
Expand All @@ -54,7 +53,6 @@ fn challenges_all() -> Array<u32> {
CHALLENGE_CLUBS,
CHALLENGE_DIAMONDS,
CHALLENGE_SPADES,
CHALLENGE_ONE,
CHALLENGE_TWO,
CHALLENGE_THREE,
CHALLENGE_FOUR,
Expand Down
2 changes: 1 addition & 1 deletion src/models/status/round/challenge.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a552112

Please sign in to comment.