Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Petals Around the Rose - Puzzle
Re: Petals Around the Rose - Puzzle [message #364328 is a reply to message #363902] Sun, 21 December 2008 23:58 Go to previous messageGo to previous message
genetix is currently offline  genetix
Messages: 392
Registered: July 2003
Location: Saskatchewan Canada
Karma:
Commander
Ya I was going to check that when I fixed the no submission problem but had to run out the door. I had a feeling it was doing that.

Here's the old formula for anyone interested. The multiplication was making two dice 0 almost every time. It really cut down the odds.

Quote:

$final_count = count_petals($dice6) * count_petals($dice4) + count_petals($dice2) - count_petals($dice5) + count_petals($dice1) - count_petals($dice3);


I might reserve multiplication and division for the extreme game mode. Keep the advanced version a little simpler. The formula has been rewritten to only include + and - for this round.


[Updated on: Sun, 21 December 2008 23:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SD Micro
Next Topic: What the smeg is up with the passwords?
Goto Forum:
  


Current Time: Thu Jan 30 01:41:36 MST 2025

Total time taken to generate the page: 0.01206 seconds