Pluralsight Javascript Blackjack

Pluralsight Advanced JavaScript Free Download Gain an advanced understanding of the core mechanics of how JavaScript compiles, optimizes, and executes in the browser. I'm having trouble creating a Blackjack program to display in an HTML page using an external Javascript file. I don't need to label my cards, and I've created a dealer that will always be between 17-21 in score. I'm unsure of what parts of my code is completely wrong and what needs a bit of tweaking. If you need help, please email support@pluralsight.com for 24/7 assistance. We use cookies to make interactions with our websites and services easy and meaningful. For more information about the cookies we use or to find out how you can disable cookies, click here.

ASP stands for Active Server Pages

ASP is a development framework for building web pages.

ASP supports many different development models:

  • Classic ASP
  • ASP.NET Web Forms
  • ASP.NET MVC
  • ASP.NET Web Pages
  • ASP.NET API
  • ASP.NET Core

The ASP Technology

ASP and ASP.NET are server side technologies.

Both technologies enable computer code to be executed by an Internet server.

Pluralsight Javascript Blackjack Game

When a browser requests an ASP or ASP.NET file, the ASP engine reads the file, executes any code in the file, and returns the result to the browser.

Classic ASP - Active Server Pages

ASP (aka Classic ASP) was introduced in 1998 as Microsoft's first server side scripting language.

Classic ASP pages have the file extension .asp and are normally written in VBScript.

Visit our Classic ASP Tutorial »Java

ASP.NET

ASP.NET was released in 2002 as a successor to Classic ASP.

ASP.NET pages have the extension .aspx and are normally written in C# (C sharp).

ASP.NET 4.6 is the latest official version of ASP.NET.

ASP.NET 5 was expected to be an important redesign of ASP.NET.

However, the development of ASP.NET 5 was stopped in favor of ASP.NET Core.

ASP.NET Web Pages

ASP.NET Web Pages is an SPA application model (Single Page Application).

The SPA model is quite similar to PHP and Classic ASP.

ASP.NET Web Pages is being merged into the new ASP.NET Core.

Visit our Web Pages Tutorial »

ASP.NET MVC

ASP.NET MVC is an MVC application model (Model-View-Controller).

ASP.NET MVC is being merged into the new ASP.NET Core.

ASP.NET MVC is not covered in this tutorial.

ASP.NET Web API

ASP.NET API is an API application model (Application Programming Interface).

ASP.NET API is being merged into the new ASP.NET Core.

ASP.NET API is not covered in this tutorial.

ASP.NET Web Forms

ASP.NET Web Forms is an event driven application model.

ASP.NET Web Forms is not a part of the new ASP.NET Core.

Pluralsight Javascript Blackjack App

ASP.NET Web Forms is not covered in this tutorial.

ASP.NET Core

ASP.NET Core was released in 2016.

ASP.NET Core merges ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages into one application framework.

ASP.NET Core is not covered in this tutorial.


It's finally done! I sat down today and dug through my backups to find my original WPF BlackJack game I wrote way back when WPF was really cool. I converted it to VS 2013, made sure it still ran, organized the solution, and hit deploy. It's now up on GitHub for your learning pleasure. There are no Nuget packages here! This was before Nuget where I had to find code to learn from and, ahem, copy. The deck is also something I found online. If I find the source, I'll be sure to attribute it properly.

Code:https://github.com/kamranayub/blackjack/

This was a sample game I wrote to learn OO design and WPF. There's some cool animations, sound effects, and a pretty fun Blackjack implementation. It's very 'simple' and should be easy to digest. I never got around to implementing all the cool AI but now that it's on GitHub for all to see, maybe someone will pick it up.

I also think it'd be fun to port it to Windows 8 C# and XAML. It could be an app I release on the store, free and open source.

Don't miss any updates!

No spam and I usually send a newsletter once a quarter with content you won't see on the blog.

About Kamran

I'm a technologist, speaker, and Pluralsight author and I specialize in building full-stack solutions with a focus on modern web technology and cloud native architecture.

Please enable JavaScript to view the comments powered by Disqus.comments powered by

Pluralsight Demo

DisqusPlease enable JavaScript to view the comments powered by Disqus.comments powered by

Blackjack Javascript Code

Disqus