Skip to content

alekseyn/iPadSlotMachine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iPadSlotMachine is an iPadDevCamp project.

The "Slot Machine Team" consists of Tim Burks, John Ellenich, Ramin Firoozye, 
Aleksey Novicov, and Warren Stringer.

This software is released under the BSD License.

APPLICATION DETAILS

iPadSlotMachine is a multi-iPad slot machine simulator. When the app starts,
its user is presented with a choice: to create a new machine or to join an
existing one.

If "Create New" is selected, the app becomes the master controller for the slot machine.
Instances running on other local iPads may then join the machine. When they do,
they are assigned roles. Possible roles include:

  Reels. These are the wheels of the slot machine. Initially up to 3 reels will be supported.

  Handle. This device will be swung by its user to start the slot machine. It is likely 
  that this device will be an iPhone.

  Hopper. This iPad will report the results. In the case of winning spins, it will show 
  coins or some similar animated reward.

The master controller will have any necessary controls to manage connections, a reset
button to reset the machine, and test controls to start the machine if the handle is
unavailable.

The slot machine will support multiple modes of operation. One mode will display
classical slot machine graphics. Another mode will display digits from 0-9 on each
reel in a way that allows it to be used to select tickets for raffles. Other modes
may also be added.

A pull of the handle will send a message to the master, which will in turn launch the reels. 
Each wheel will spin independently and stop at a random time. We may optionally add "Stop"
buttons to each reel to allow each reel to be stopped separately. When all wheels have
stopped, a score or other summary result will be calculated and displayed on the hopper.

Appropriate sounds would be awesome. Audio feedback through the iPad microphone would be
nice for randomizing or otherwise driving the reels.

=============================================================================================
Copyright 2010, Slot Machine Team. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this list of
      conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice, this list
      of conditions and the following disclaimer in the documentation and/or other materials
      provided with the distribution.

THIS SOFTWARE IS PROVIDED BY Slot Machine Team ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those of the
authors and should not be interpreted as representing official policies, either expressed
or implied, of Slot Machine Team.

About

an iPadDevCamp project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%