Thanks to visit codestin.com
Credit goes to 9-bits.com

9-bits (Posts tagged javascript)

1.5M ratings
277k ratings

See, that’s what the app is perfect for.

Sounds perfect Wahhhh, I don’t wanna

Jack Doyle, author of the GreenSock Animation Platform (GSAP), has written a fantastic guest post on CSS-Tricks comparing and contrasting CSS and JavaScript-based animations. I agree wholeheartedly—as a former Flash developer, the current animation API available in CSS is insufficient when dealing with complex timelines, advanced easing, and state control.

css animation javascript

A few months ago, as an experiment to learn some new frameworks, I created a quick blackjack game in Spine and CoffeeScript. The game is not pretty, nor is it bug free: Notably, there are some issues with splitting and doubling down. Nevertheless, I’m open sourcing the app today, just in case it’s of any use to anyone getting started with these technologies.

Bugs and horrific UI aside, Black Coffee does know basic strategy, so it can actually tell you which play is “correct,” depending on the current hand. I hope to find some time to finish it out over the next few months, but hopefully there’s some value in open sourcing it in the meantime. Also: If you see a clear problem or way to improve, you know the drill: Fork and pull request!

Check out Black Coffee on GitHub!

Note: Most importantly, BC does not have semicolons at the end of lines. Amazing!

coffeescript javascript spine blackjack