After finding out back in the spring that the support that allowed Processing games to be playable in browser had ended years ago, I decided to learn p5.js instead. I then completely forgot about it for several months, before finally deciding to make my first p5.js script over the past week. This is a pretty simple interface with which to play Blackjack with 4 players. Aesthetically, this was inspired by the handheld games of the '80s that made use of the same LCD screen technology as calculators. It follows a simplified version of the classic Blackjack rules: On each player's turn, they can either Hit to add a random card to their score or Stay to stay on their current score. After four rounds, the player with the highest score that isn't higher than 21 wins. Be warned: There is port priority, so in a tie, the player with the lower player number wins. Had to sell that retro vibe in every way I could.

This is designed to be played on a phone, but I don't know how to add touchscreen functionality on p5.js. Until I figure it out, please play on a device with a mouse or trackpad.

Development log

Comments

Log in with itch.io to leave a comment.

Nice, man. The Serif font does a lot for the dated look. Especially where gambling intersected with cutting edge technology, in the '80s there was a desire to make these things appear dignified, regal, kind of overcompensating for the impression that electronic entertainment was a cheap flash-in-the-pan, and gambling is seedy.

I think if the inactive "LCD" segments were slightly dimmer it'd be a little easier to read at a glance. BTW is there an explanation for what "F" means in the card displays?

Oh wait, Face, I just got it. Because all the face cards have the same value. Damn...clever.