TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139559 times)
  2. FAT32 Library (72040 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26308 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: 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.

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

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]

OLED SSD1306 BY I2C, CREATE OWN FONTS, USING THE GLCD FONT CREATOR

0

OLED SSD1306 BY I2C, CREATE OWN FONTS, USING THE GLCD FONT CREATOR Video: https://youtu.be/Aa-DucNGQZk

[Learn More]

driver for mikrobasic for lcd st7565

0

a simple diver for st7565. It is not complex, but it is fast. with text, lines, bargraph, etc...

[Learn More]