TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136734 times)
  2. FAT32 Library (69950 times)
  3. Network Ethernet Library (55941 times)
  4. USB Device Library (46266 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41170 times)
  7. GSM click (28983 times)
  8. PID Library (26413 times)
  9. mikroSDK (26360 times)
  10. microSD click (25376 times)
Libstock prefers package manager

Package Manager

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]

< Back
Example

BlackJack in MicroBasic on EasyPic v7

Rating:

0

Author: Paul Fowler

Last Updated: 2023-12-03

Package Version: 1.0.0.0

Category: GLCD

Downloaded: 33 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.

No Abuse Reported

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 ".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Player Table and Actions

Player Table and Actions

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 image
Betting, your remaining chips shown on the 7Seg

Betting, your remaining chips shown on the 7Seg

An example of the output. Input is via PORTC buttons.

View full image
MikroBasic Code Screenshot

MikroBasic Code Screenshot

The 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

RELATED CODES

Cascaded MAX7219 Dot Matrix LED Driver IC

0

Cascaded or daisy chained MAX7219 Dot Matrix LED Driver IC with bit-banged Serial (SPI) transfer. Four MAX7219 are used to drive four 8x8 (rows,columns) LED Dot Matrix displays to output bitmap characters.

[Learn More]

Nokia 3310 GLCD Dual Thermometer

1

Nokia 3310 GLCD Dual Thermometer.

[Learn More]

bo9864 driver

0

simple driver for bo9864 lcd whith write text, contrast, etc bo9864 is a small lcd driving by i2c. It is interesant because is very compact 98*64 pixels, and have only 8 pin whith fcp connector whith approx the same dimensions than nokia 5110. It can replace this whith advantages

[Learn More]