+ Reply to Thread
Results 1 to 3 of 3

Slot machine

  1. #1
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Slot machine

    Hello!!

    I am trying to do a homework of making a slot machine in excel.

    I will make 10 tries..so i will have ten rows...

    and accordingly i will have 3 columns

    my words are "apple" "mango" and "orange"

    For each wheel der is 20% probability for apple, 15% for mango and 25% for orange.

    how can i simulate de slot machine? should be using rand()??

    please suggest

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Slot machine

    Hi
    As it is homework I am not going to try and give you the solution. Try searching for a solution on Google. Here is a link to the first one I found with my search:

    http://www.freevbcode.com/ShowCode.asp?ID=854

    Good luck.
    Tony

  3. #3
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Dubai
    MS-Off Ver
    Excel For Mac V16 365
    Posts
    145

    Re: Slot machine

    Hello,

    i am trying to write a formula....using vba s out of the scope..

    will it be like...generating random numbers and then assigning names according to the probabilities??

    Many thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1