We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: Paul Fowler
Last Updated: 2023-12-03
Package Version: 1.0.0.0
Category: GLCD
Downloaded: 69 times
Not followed.
License: MIT license
This is the game of BlackJack. Written in MicroBasic on the EasyPic v7 equiped with the LCD and GLCD.
The code uses the EasyPic v7 board's 128x64 GLCD, 2x16 LCD, 7-Segment Display and the PICF45K22.
Instructions are on top of the BlackJack.mpas file.
The goal is to eventually bankrupt the dealer.
Do you want to subscribe in order to receive notifications regarding "BlackJack in MicroBasic on EasyPic v7 " changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "BlackJack in MicroBasic on EasyPic v7 " changes.
Do you want to report abuse regarding "BlackJack in MicroBasic on EasyPic v7 ".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1701583614_blackjack_in_mic_mikrobasic_pic.zip [418.08KB] | mikroBasic PRO for PIC |
|
Up to 7 players can play. They are shown in each row, dealer is in last row. Cards are 2 characters such as 2H for 2 of hearts. The only exception are the 10s. Table shows the sum of the cards and your current status.
View full imageAn example of the output. Input is via PORTC buttons.
View full imageThe basic is commented to an extreme for beginners. Setup the debugger and have an easy time stepping through the code. Timer Interrupts and EEPROM are also used as a demo. Maybe not the most concise code, but this is coded for readability.
View full image