turn blackjack console version into applet. will use this for website.