bradwestfall / blackjack.js

Play blackjack in the JavaScript console
http://bradwestfall.github.io/blackjack.js/
4 stars 1 forks source link

Player can bet negative amount #1

Closed sparkyfen closed 9 years ago

sparkyfen commented 9 years ago

screen shot 2015-06-05 at 2 12 11 pm

bradwestfall commented 9 years ago

ha, I know I still need to work on it. I didn't know anyone was playing it. Actually after I fix a few little things like that the next step is to make it so an AI can be added to vet out a betting strategy.

bradwestfall commented 9 years ago

Did you like playing it though?

sparkyfen commented 9 years ago

Sounds good :) I enjoyed playing it! Was working on Blackjack myself but stumbled on to yours because I'm following you!

bradwestfall commented 9 years ago

Sweet. The whole real purpose is that I want to try various versions of a "progressive" betting strategy. I found myself playing android apps and doing well but it was taking a lot of time. So I thought I'd automate it. Plus depending on the android game I was playing, I would either do really poor or really well. I think those games are programmed with a motive so I just thought If I could make one I would know it would be objective. I need to add a pubsub pattern so the game announces it's state. Then an AI would listen in and play

sparkyfen commented 9 years ago

The idea sounds great! I'll keep a watch on it! :) Feel free to close this issue when the negative amount is fixed!

bradwestfall commented 9 years ago

will do, thanks for testing

bradwestfall commented 9 years ago

fixed