[nfbcs] Help with card game in swift

Jim Barbour jbar at barcore.com
Thu Apr 6 18:59:22 UTC 2017


Worth noting that only the BN touch is running android.

Jim

On Thu, Apr 06, 2017 at 02:55:18PM -0400, Andy B. via nfbcs wrote:
> Thanks, that's good to know about the BN. I will keep it in mind and let you know when ready.
> 
> 
> -----Original Message-----
> From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Jessica Dail via nfbcs
> Sent: Thursday, April 6, 2017 2:52 PM
> To: Andy B. via nfbcs <nfbcs at nfbnet.org>
> Cc: Jessica Dail <jldail13 at gmail.com>
> Subject: Re: [nfbcs] Help with card game in swift
> 
> Hi,
> yes, the BN touch runs Android 4.4.
> 
> Please lct me o when #kre ready for beta testers.
> I'll help test both versions.
> On Apr 6, 2017 2:41 PM, "Andy B. via nfbcs" <nfbcs at nfbnet.org> wrote:
> >
> > I don't believe BN works on Android or IOS. This app only works on those platforms. When it is done, it will allow you to roll up to 6 dice. You will have the ability to select dice to reroll. Score cards are under consideration.
> >
> > -----Original Message-----
> > From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Jessica Dail via nfbcs
> > Sent: Thursday, April 6, 2017 2:37 PM
> > To: Andy B. via nfbcs <nfbcs at nfbnet.org>
> > Cc: Jessica Dail <jldail13 at gmail.com>
> > Subject: Re: [nfbcs] Help with card game in swift
> >
> > Hi,
> > I have a BN touch.
> >
> > Will it work the there?
> >
> > What will it do?
> > On Apr 6, 2017 2:32 PM, "Andy B. via nfbcs" <nfbcs at nfbnet.org> wrote:
> > >
> > > It isn't done, and wont be for a while because I am working on the Android version first. I have little bits of it done, and won't be out until the fall. If the Android one gets done sooner, I will work on it before then. The app is called "Dice Roller" and will cost $1.99 in each app store. It is accessible without extra settings in place.
> > >
> > > -----Original Message-----
> > > From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Jessica Dail via nfbcs
> > > Sent: Thursday, April 6, 2017 1:21 PM
> > > To: Andy B. via nfbcs <nfbcs at nfbnet.org>
> > > Cc: Jessica Dail <jldail13 at gmail.com>
> > > Subject: Re: [nfbcs] Help with card game in swift
> > >
> > > Hi,
> > > What's the name of your "dice app?"
> > >
> > > Is it accessible?
> > > Does it cost?
> > >
> > > Thanks,
> > > Jessica
> > > On Apr 6, 2017 12:46 PM, "Andy B. via nfbcs" <nfbcs at nfbnet.org> wrote:
> > > >
> > > > Consider not using a self-voicing app. Use Voiceover's ability to handle accessibility features out of the box. For example, my dice app uses die faces as jpg images inside of a UIImage control. All I need to do is set the alt text to the number displayed on the die face in the image. Use the same for your cards.
> > > >
> > > > -----Original Message-----
> > > > From: nfbcs [mailto:nfbcs-bounces at nfbnet.org] On Behalf Of Taylor Arndt via nfbcs
> > > > Sent: Thursday, April 6, 2017 12:42 PM
> > > > To: NFB in Computer Science Mailing List <nfbcs at nfbnet.org>
> > > > Cc: Taylor Arndt <taylorarndt99 at gmail.com>
> > > > Subject: [nfbcs] Help with card game in swift
> > > >
> > > > Hi, i am making an accessible cardgame for the blind in swift. I am doing quite well, but having issues implamenting text to speech. I get some errors about the viewcontroler not having a member of synthh and also an error about can't convert card names to string i would really love help, because making this accessible has been the hardest part.
> > > > here is myy code.
> > > >
> > > > //
> > > > //  ViewController.swift
> > > > //  Accessible War Game
> > > > //
> > > > //  Created by Taylor Arndt on 3/31/17.
> > > > //  Copyright © 2017 ?Tays apps. All rights reserved.
> > > > //
> > > >
> > > > import UIKit
> > > >
> > > > import AVFoundation
> > > > class ViewController: UIViewController {
> > > >
> > > >     override func viewDidLoad() {
> > > >         super.viewDidLoad()
> > > >         // Do any additional setup after loading the view, typically from a nib.
> > > >     }
> > > > @IBOutlet weak var computer:UILabel!
> > > > @IBOutlet weak var leftimageview:UIImageView!
> > > >     @IBOutlet weak var rightimageview:UIImageView!
> > > > @IBOutlet weak var player:UILabel!
> > > > @IBOutlet weak var deal:UIButton!
> > > > @IBAction func DealTapped(_sender: UIButton)  { leftimageview.image = UIImage(named:"card10") let synth = AVSpeechSynthesizer() var myUtterance = AVSpeechUtterance(string: "") var cardNamesArray:[String] = ["card2", "card3", "card4", "card5", "card6", "card7",  "card8", "card9", "card10", "jack", "queen", "king", "ace"]
> > > >     myUtterance = AVSpeechUtterance(string: cardNames)
> > > > self.synth.speak(myUtterance)
> > > > }
> > > >
> > > > }
> > > >
> > > > }
> > > >
> > > > --
> > > > Taylor
> > > >
> > > > _______________________________________________
> > > > nfbcs mailing list
> > > > nfbcs at nfbnet.org
> > > > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> > > > To unsubscribe, change your list options or get your account info for nfbcs:
> > > > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/sonfire11%40gmail.com
> > > >
> > > > _______________________________________________
> > > > nfbcs mailing list
> > > > nfbcs at nfbnet.org
> > > > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> > > > To unsubscribe, change your list options or get your account info for nfbcs:
> > > > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/jldail13%40gmail.com
> > > _______________________________________________
> > > nfbcs mailing list
> > > nfbcs at nfbnet.org
> > > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> > > To unsubscribe, change your list options or get your account info for nfbcs:
> > > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/sonfire11%40gmail.com
> > >
> > > _______________________________________________
> > > nfbcs mailing list
> > > nfbcs at nfbnet.org
> > > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> > > To unsubscribe, change your list options or get your account info for nfbcs:
> > > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/jldail13%40gmail.com
> > _______________________________________________
> > nfbcs mailing list
> > nfbcs at nfbnet.org
> > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> > To unsubscribe, change your list options or get your account info for nfbcs:
> > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/sonfire11%40gmail.com
> >
> > _______________________________________________
> > nfbcs mailing list
> > nfbcs at nfbnet.org
> > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> > To unsubscribe, change your list options or get your account info for nfbcs:
> > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/jldail13%40gmail.com
> _______________________________________________
> nfbcs mailing list
> nfbcs at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for nfbcs:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/sonfire11%40gmail.com
> 
> 
> _______________________________________________
> nfbcs mailing list
> nfbcs at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for nfbcs:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/jbar%40barcore.com




More information about the NFBCS mailing list