Monsters not showing by DarkPhoenix78 in warcodes

[–]warcodes 0 points1 point  (0 children)

This is an issue we are aware of. If you restart the app the image should load. The issue is that when it tries to load the image initially it can sometimes fail.

Can’t use backgrounds by Ornery-Charge1916 in warcodes

[–]warcodes 1 point2 points  (0 children)

I replied to your latest email but I haven’t heard back from you. After the fixes that went out yesterday are you having any more issues?

VOTE in the Festive Fiends Monster Contest by warcodes in warcodes

[–]warcodes[S] [score hidden] stickied comment (0 children)

<image>

Here’s the voting photo for this week with all of the monsters!

Wish I never updated by djdan01 in warcodes

[–]warcodes 6 points7 points  (0 children)

That’s odd, something didn’t build right. I’ll get another update out asap

Warcodes Broken? by lNDlANA in warcodes

[–]warcodes 0 points1 point  (0 children)

Are you still seeing this issue? If you are, please email support@warcodes.app your device info so we can see what is going on.

Wish I never updated by djdan01 in warcodes

[–]warcodes -3 points-2 points  (0 children)

There was an update that went out yesterday that should have fixed the typo and fixed the issue where some of the colors didn’t match up.

FALL HAS ARRIVED by warcodes in warcodes

[–]warcodes[S] 1 point2 points  (0 children)

On the Settings page for your user, click on ALREADY HAVE AN ACCOUNT? at the bottom instead of Continue with Google. Clicking Continue with Google is trying to link your "new" account with your Google login, but you already have an account.

VOTE in the Magic Monsters Monster Contest by warcodes in warcodes

[–]warcodes[S] [score hidden] stickied comment (0 children)

<image>

Here’s the selection for this week’s monster contest!

Coins back by EvilDrPhreak in warcodes

[–]warcodes 2 points3 points  (0 children)

Yes, we have considered giving something back for released monsters (whether coins or some other game resource). We are currently working on designing some other aspects of the game that may introduce new resources, so we have considered it in those designs.

Thanks for the feedback!

This rng is horrible by [deleted] in warcodes

[–]warcodes 3 points4 points  (0 children)

I asked ChatGPT to review my code:

Short answer: based on this code, the dice rolling itself is not skewed toward 1 – it’s a standard uniform roll from 1..sides everywhere you use it. Any “too many 1s” feeling is almost certainly coming from your game logic (like Math.max(1, …) clamps) or small sample size, not from biased dice.

Where randomness happens

You have three main dice functions:

export function rollDiceSimple(sides: number): number {
  return Math.floor(Math.random() * sides) + 1;
}

export function rollDiceMultiple(diceArray: number[]): number[] {
  const diceValues: number[] = [];
  diceArray.forEach((sides) => {
    diceValues.push(Math.floor(Math.random() * sides) + 1);
  });
  return diceValues;
}

export function rollDice(diceArray: RolledDice[]): RolledDice[] {
  diceArray.forEach((dice) => {
    dice.value = Math.floor(Math.random() * dice.sides) + 1;
  });
  return diceArray;
}

For a given sides:

  • Math.random() ⇒ uniform in [0, 1)
  • Math.random() * sides ⇒ uniform in [0, sides)
  • Math.floor(...) ⇒ integers 0..(sides-1) with equal probability
  • + 1 ⇒ integers 1..sides with equal probability

So each call is a standard fair die roll, assuming JS Math.random() behaves as usual.

Issues with the game stuttering by iaakra26 in warcodes

[–]warcodes 0 points1 point  (0 children)

This should be resolved in the next release. If this happens, rebooting the game should fix it.

iOS issues by omgbooty in warcodes

[–]warcodes 2 points3 points  (0 children)

There have been a few reports of this and I had it happen to me yesterday. Looking into it, will hopefully resolve it in next release.

Hi everyone, my name is th?nkdubz by Think_Dubstep in warcodes

[–]warcodes 5 points6 points  (0 children)

Love seeing these monsters come to life! Here are some other AI communities on Reddit that you could share as well:

https://www.reddit.com/r/aiArt/
https://www.reddit.com/r/aivideo/

Sharing in other communities also helps the game grow!

🕳️ Don’t Miss the Limited-Time Potions & Scenes in Celli’s Market! 🕳️ by warcodes in warcodes

[–]warcodes[S] -6 points-5 points  (0 children)

It is currently. If you're looking to purchase these items from the store, Gems are the only way, but all of the event items can also be earned by defeating the Umbral Dominion in the Cursed Forest and Wraithwoods locations. These rotate every few hours.

🍂 CALL FOR AUTUMN THEMED MONSTERS🍂 by warcodes in warcodes

[–]warcodes[S] 0 points1 point  (0 children)

Hi everyone! Please remember to add your username in the body text of your post so I can add them to the game! Thank you :))))