TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 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 (140162 times)
  2. FAT32 Library (72618 times)
  3. Network Ethernet Library (57641 times)
  4. USB Device Library (47953 times)
  5. Network WiFi Library (43552 times)
  6. FT800 Library (42941 times)
  7. GSM click (30140 times)
  8. mikroSDK (28668 times)
  9. PID Library (27053 times)
  10. microSD click (26552 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: 80 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

Library GLCD ST7920 for MikroC PRO for PIC

5

GLCD driver for Generic Display 128x64 with ST7920 graphics controller using MikroC PRO for PIC software. Open License. I just corrected the problem I had when requesting the .c

[Learn More]

DS1307 RTC hardware I2C write read with GLCD 128x64

4

PIC18f4620 is interfaced with GLCD, RTC and uart terminal. Controller get the data from RTC using I2C and display the time and date on GLCD and also send to UART terminal

[Learn More]

Nokia_5110_PCD8544_Basics

5

A simple library that let you use the 5110 to display images, text and numbers. -SEARCH IN MY PROFILE THE NEW LIBRARY -DRAW TEXT WITH 2 FONTS BIG, AND SMALL -DRAW LONG NUMBERS WITHOUT CONVERTING THEM TO TEXT WITH A SUPER FAST ITOA -DRAW N-FILLED CIRCLES AND RECTS -UNDERLINE A LINE TO SELECT IT AND A LOT MORE..

[Learn More]