TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139244 times)
  2. FAT32 Library (71743 times)
  3. Network Ethernet Library (57115 times)
  4. USB Device Library (47428 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28073 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 68 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

Nokia 3310 GLCD Dual Thermometer

1

Nokia 3310 GLCD Dual Thermometer.

[Learn More]

ST7565 128x64 GLCD Demo

1

ST7565 128x64 GLCD Demo with 8051. https://www.youtube.com/watch?v=mKBj65BLjFg

[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]