This page is a wiki. Please login or create an account to begin editing.


21C

Rating:
No votes yet
Category:
Perspective:
Year released:
Author:
Publisher:
Engine:
#1
[www].se [ftp].se [mirror].us [mirror].de
21c_1.0.1_classic_mac_os.sit (55.28 KB)
MD5: 650b7ad6feea48bdca3d7503299df185
For Mac OS 8 - 8.1 - Mac OS X
#2
[www].se [ftp].se [mirror].us [mirror].de
21c_1.0.1_dos16.zip (24.65 KB)
MD5: 4ce41e8d8058253144e20ec6bfdf5c30
For Mac OS 8 - 8.1 - Mac OS X
#3
[www].se [ftp].se [mirror].us [mirror].de
21c_1.0.1_dos16_1.44mb_floppy.zip (26.82 KB)
MD5: 27c9542eb0538e2ff358ee3a72de6312
For Mac OS 8 - 8.1 - Mac OS X
#4
[www].se [ftp].se [mirror].us [mirror].de
21c_1.0.1_mac_os_x.zip (33.86 KB)
MD5: ea058ad37547eea492f7cbbd2322b22a
For Mac OS 8 - 8.1 - Mac OS X
#5
[www].se [ftp].se [mirror].us [mirror].de
21c_1.0.1_win32.zip (10.92 KB)
MD5: 41977df89d8e8fab576e0a3af60a0ff8
For Mac OS 8 - 8.1 - Mac OS X
#6
[www].se [ftp].se [mirror].us [mirror].de
21c_1.0.1_src.zip (18.60 KB)
MD5: faabf374959caeed4d7da069bc6e19bd
For Mac OS 8 - 8.1 - Mac OS X
#7
[www].se [ftp].se [mirror].us [mirror].de
21c_1.0.1_src_1.44mb_floppy.zip (11.20 KB)
MD5: 0edc27b4cff20ac252232ef186b220ff
For Mac OS 8 - 8.1 - Mac OS X
Emulation
Guides on emulating older games

21C by Alex Free
1.0 Release - September 28th 2020
1.0.1 Release - September 30th 2020

==About==
A portable and open source command line game of Blackjack/21 written in Ansi C/C89.

==Release - Info==
- 21c_1.0.1_src - Source
- 21c_1.0.1_src_1.44mb_floppy - Source floppy image
- 21c_1.0.1_win32 - Windows 95-Windows 10 (64 & 32-bit)
- 21c_1.0.1_dos16 - DOS/some Windows versions (DOS 3.30+)
- 21c_1.0.1_dos16_1.44mb_floppy - DOS/some Windows versions (DOS 3.30+) floppy image
- 21c_1.0.1_classic_mac_os - 68k/PPC universal SIOW app for Mac OS 8+
- 21c_1.0_mac_os_x - PPC, PPC64, PPC750, PPC7400, PPC7450, PPC970, i386, x86_64 universal executable
for Mac OS X 10.3.9-Mac OS 11 (ARM requires Rosetta and is untested but should work).

==Features==
- 'Infinite' deck to draw from
- Infinite splitting
- Dealer hits until 16
- Double Down on an intial sum of 9, 10, or 11
- Insurance bet if the Dealer's first card is an Ace
- Early surrender (late surrender turned out to not be fun)
- Bet and save your balance and pick up where you left off later
- BSD 3-Clause License, Ansi/C89 100% compilant
- Saving:
When you save, a file named 'save.txt' will be generated in the current directory. If 'save.txt'
is in the current directory when executing '21c' you will be prompted to load it if so desired.

==License==
3-Clause BSD License, see 'license.txt'

==Changelog==
Version 1.0.1
- fixes dealer hit bug
- fixes save bug
- improves data input methods and bugs
- adds DOS support (not just MSDOS!)

==Building==
Tested To Compile With:
- Macintosh Programmer's Workshop 3.0 GM (MrC - PowerPC, SC - 68k) (Classic Mac OS 8-9.2.2)
- Xcode 3.0 (Apple GCC 4.0) (Mac OS X 10.3.9+)
- DevCPP 4.99.5 (MingW GCC 3.4.2) (Windows 95 OSR 2.5+)
- TurboC++ 3.0 (TCC 3.0) (DOS 3.30+)

This should essentially compile on any OS with a C89 compilant compiler.

Each folder contains the same source file '21c.c' in a different EOL format:
- eol_cr contains the Classic Mac OS EOL format.
- eol_crlf contains the Windows/DOS EOL format.
- eol_lf contains the Unix EOL format.

Universal Mac OS X 10.3.9+ compile one liner:
gcc -mmacosx-version-min=10.3 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch ppc64 -arch ppc750 -arch ppc7400 -arch ppc7450 -arch ppc970 -arch i386 -arch x86_64 -o 21c 21c.c

Compatibility
Architecture: 68k PPC x86 (Intel:Mac) x86 (Windows)

Mac OS 8+
DOS 3.30+
Mac OS X 10.3.9+
Windows 95 OSR 2.5+