Author Topic: Side Project: Super Slots  (Read 7599 times)

0 Members and 1 Guest are viewing this topic.

metagross111

  • Guest
Re: Super Slots
« Reply #15 on: February 19, 2009, 01:10:34 am »
well i will. but he talks about it as if it was next week or something :P

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Super Slots
« Reply #16 on: February 19, 2009, 01:21:01 am »
well i will. but he talks about it as if it was next week or something :P
You mean you won't be done next week? what?!?!
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Side Project: Super Slots
« Reply #17 on: February 21, 2009, 07:42:19 pm »
It looks great so far ;D

Quote
Also, does anybody know if I can randomize a list. I want it to keep the same numbers, just different order.
With an n=N-element list (let's say L1):
Code: [Select]
:rand(N→L2
:SortA(L2,L1
will randomize L1.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

metagross111

  • Guest
Re: Side Project: Super Slots
« Reply #18 on: February 21, 2009, 08:55:39 pm »
wait, so how does that work?

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Side Project: Super Slots
« Reply #19 on: February 21, 2009, 09:12:22 pm »
wait, so how does that work?
rand(N) will create an N-element long list of random numbers, and since the random numbers are 10 (14?) digits long there's virtually no chance of having non-distinct numbers.  SortA(L2,L1) will sort L1 according to the order in L2 and store the result in L1.  For example, if you had L1={1,2,3} and L2={.42,.21,.99}, then SortA(L2,L1) would return L1={2,1,3}.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

metagross111

  • Guest
Re: Side Project: Super Slots
« Reply #20 on: February 21, 2009, 09:48:38 pm »
that is pretty damned cool! it renders my card shuffler retarded, too! XD

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Side Project: Super Slots
« Reply #21 on: February 21, 2009, 09:51:45 pm »
that is pretty damned cool! it renders my card shuffler retarded, too! XD
I aim to make others obsolete ::)
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

metagross111

  • Guest
Re: Side Project: Super Slots
« Reply #22 on: February 21, 2009, 09:54:31 pm »
STFU NOOB I HAVE TEH POKEMONZ!

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Side Project: Super Slots
« Reply #23 on: February 22, 2009, 09:44:57 am »
wait, so how does that work?
rand(N) will create an N-element long list of random numbers, and since the random numbers are 10 (14?) digits long there's virtually no chance of having non-distinct numbers.  SortA(L2,L1) will sort L1 according to the order in L2 and store the result in L1.  For example, if you had L1={1,2,3} and L2={.42,.21,.99}, then SortA(L2,L1) would return L1={2,1,3}.
I never knew that's how it worked.. Nice work. I've seen this used for card shuffler's, I just never knew where it came from (and I forgot how to do it before I asked this question :P)
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Side Project: Super Slots
« Reply #24 on: February 24, 2009, 10:47:59 am »
Well seeing as how this isn't really progressing, no matter what I try, I think I'm going to put this on hold or even drop it all together. I started it to get more familiar with Celtic III, so instead of using this to learn Celtic, I've started a different side project. I'll post info later about it.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Side Project: Super Slots
« Reply #25 on: February 24, 2009, 12:51:40 pm »
I'm sorry to hear :(

But I hope you continue your other projects though, this would suck if they died :(
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Side Project: Super Slots
« Reply #26 on: February 24, 2009, 12:56:06 pm »
Sorry to hear that you're dropping this :(  Breaks are a great way to get out of a slump, so when you finish the other project you might want to reconsider picking this back up again.

Good luck ;D
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: Side Project: Super Slots
« Reply #27 on: February 24, 2009, 01:01:52 pm »
I'm sorry to hear :(

But I hope you continue your other projects though, this would suck if they died :(
I'll definitely continue my other stuff. This just didn't work quite like I thought it would.

Sorry to hear that you're dropping this :(  Breaks are a great way to get out of a slump, so when you finish the other project you might want to reconsider picking this back up again.

Good luck ;D
Yeah maybe I'll learn something that'll allow me to do what I want to do.Thanks!
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Re: Side Project: Super Slots
« Reply #28 on: February 24, 2009, 05:11:34 pm »
It would be cool to see a great casino game (like zCasino, but with more games), hope you get back to this one day..