Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to implement a Slot-Machine

How to implement a Slot-Machine

Scheduled Pinned Locked Moved C#
csharpwpftutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MarioMARTIN
    wrote on last edited by
    #1

    Hi! I'm planning to program some sort of electronic gaming machine / slot-machine (like: 5 columns with "Reels", each "Reel" shows some symbols, if you have 5 symbols in a row you hit the Jackpot). Although I think I'm already familiar with WPF's basics (how to create controls and edit their style), I have no clue how to solve this task with WPF. Are there any suggestions how I should program those "Reels"? Should I play videos or could it be solved by "animating" some icons? I have really no clue. Thanks, Mario M.

    Cheers, Mario M.

    Dear CodeProject member: Please don't forget to show me how clever you are by rating also this message as "crap/spam/trash" instead of writing a meaningful response!

    L 1 Reply Last reply
    0
    • M MarioMARTIN

      Hi! I'm planning to program some sort of electronic gaming machine / slot-machine (like: 5 columns with "Reels", each "Reel" shows some symbols, if you have 5 symbols in a row you hit the Jackpot). Although I think I'm already familiar with WPF's basics (how to create controls and edit their style), I have no clue how to solve this task with WPF. Are there any suggestions how I should program those "Reels"? Should I play videos or could it be solved by "animating" some icons? I have really no clue. Thanks, Mario M.

      Cheers, Mario M.

      Dear CodeProject member: Please don't forget to show me how clever you are by rating also this message as "crap/spam/trash" instead of writing a meaningful response!

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      I dont really know WPF, but I am pretty sure it has an Animator class (something about a StoryBoard too). I am sure a Google will reveal more info :)

      xacc.ide
      The rule of three: "The first time you notice something that might repeat, don't generalize it. The second time the situation occurs, develop in a similar fashion -- possibly even copy/paste -- but don't generalize yet. On the third time, look to generalize the approach."

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups