Skip to main content

BlackJack 2.0

So I spent the last few days, on and off, rebuilding my old blackjack machine. I wanted to create user accounts so that I could adapt it into other games/devices. And thus ToastyBase 1.0 was created. It's a simplistic database system, but its platform can be adapted to fit reasonably well into other projects. The blackjack game itself has been improved in terms of it's performance and
order of operations.



The database main screen shows on startup. Has basic database manipulation options (create, delete from server, load, or the option to start without a database). I'll be adding account editing options later on.



Once database is loaded, anyone can join through chat commands. Accounts will automatically be made and stored (unless it's running in no database mode)



Once logged in, the user page displays user balance and gives the option to start the game.



Game engine has been improved. Still a few timing issues to hammer out, but it runs way better than the first version.



Weeeeee.

Comments

  1. Casinos & Poker Sites List for Android - CasinoTopTos
    Best 승인전화없는 사이트 Casinos by RankCode: ✓2021 ✓Gambling marathon bet List 검증 업체 먹튀 랭크 & Review.Casino Title: Best Mobile Casinos by CasinoTopGame Type: Mobile GamblingRating: 4.0 · ‎Review 승부 예측 사이트 by 윈벳 CasinoTop

    ReplyDelete

Post a Comment

Popular posts from this blog

TFORTH

Overview TFORTH is my custom version of FORTH. It started as a programming exercise that grew into a somewhat usable language. This version of FORTH is a bit odd in that it has no compiling mode at all . Not even bytecode compiling. Everything is 100% interpreted. So, it's essentially a fancy text parser. It also doesn't try to be ANSI compliant at all. That being said, it does support a lot of common FORTH things like you would expect, including: custom function definitions, calling external functions via function pointers, full access to the system's memory map, input/output, etc.   Variables There are some big differences, under-the-hood, with this version of FORTH. For one, there are no variables. Instead, I define variables as functions with a index to the "variable page," a page in memory dedicated to temporary storage. So, for example,    5 0 ! would assign the literal value 5 to index 0 in the variable page. So, to declare a "variable," I would d...

TPC65 - History: breadboards and protoboards

Since I was a teenager, something I've always wanted to do was design and build a computer, chip-by-chip. I was inspired by the movie Pirates of Silicon Valley, specifically when Steve Wozniak built a computer, the Apple 1, that started an empire. So, I started learning electronics with the main goal of making my own computer.   Breadboard Shenanigans   In 2018, I finally got around to working with the legendary 6502 CPU and built my first rudimentary computer that barely worked. This version of the computer relied on an Arduino Mega to act as an EEPROM and serial interface. Thus, the entire computer needed to be synchronized to the Arduino to function. Unfortunately, building computers on breadboards is a pretty frustrating task. Breadboards are prone to manufacturing defects that can cause intermittent shorts between components, intermittent connections between the breadboard and components, massive amounts of parasitic capacitance and inductance. All of which are incre...

TPC65 - Arduino Optimization

One feature/limitation of my computer design is that it uses an Arduino to replace a lot of extra logic and interface components. Specifically, the Arduino performs the following functions: Serial I/O The computer piggy-backs off of the Arduino's built-in serial to USB interface chips to communicate with the host laptop. Power-up reset circuitry The 6502 needs to run for 50 or so full clock cycles with the RESET line held low, and then RESET is sent high for normal operation. System clock Because the computer uses the Arduino's USB interface, the Arduino must be kept synchronous to the computer. If the computer runs too quickly, it could outpace the Arduino's ability to read and send data.   The last point is the most important of all. The Arduino must be kept in lock-step with the computer at any given time in order to ensure that I/O data isn't missed. Thus, the the clock output is just a digital output from the Arduino. This means that the computer's maximum spee...