TOP Contributors

  1. MIKROE (2654 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 (136743 times)
  2. FAT32 Library (69952 times)
  3. Network Ethernet Library (55942 times)
  4. USB Device Library (46267 times)
  5. Network WiFi Library (41887 times)
  6. FT800 Library (41173 times)
  7. GSM click (28985 times)
  8. PID Library (26413 times)
  9. mikroSDK (26362 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

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]

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]

KS0108 Serial Graphics LCD

0

Serial Graphics LCD with KS0108 driver and MCP23017 (i2c-based Port Expander ). Project is done with PIC16F877A. Proteus simulation also included.

[Learn More]