Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / BlackJack Game done with Dark Basic professional

Author
Message
PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 24th Aug 2012 15:12
http://www.thepetezone.com/blackjack/

Here is my first near complete game written in Dark Basic. It is a BlackJack game and currently is an ongoing project. The Web Page describes some of the features, most of them have been completed.

I am putting incomplete Beta release to probably get some help and suggestions. I probably have some features that are not common in most BlackJack computer games.

If you like a feature added, please let me know as I am still programming and debugging it. I know it is still buggy on a few places, but I that is why I am letting others beta test it with me to help find bugs and issues with it.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 24th Aug 2012 15:24
PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 24th Aug 2012 15:56
It is a downloadable game and since it is a card game I did not give screenshots a priority. Besides I am having problems getting a snapshot of the screen, [print screen + pasting into Gimp] doesn't work in Windows 7 too well.

At this point I am not sure how profitable this game can be if I make it shareware, freeware, or pay per digital download. I may hand it over to another interested programmer to improve some of the animations, possibly add more features. I mainly want to focus on function and debugging.

Porting over to AppGameKit is another possibility since it is not 3D intensive. I do have an interest in investing into AppGameKit at this point. I know it is not 100% compatible with Dark Basic and porting requires some of re-writing.
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 24th Aug 2012 16:01
Quote: "[print screen + pasting into Gimp] doesn't work in Windows 7 too well."


never ever had an Issue, have tried it for GIMP before [dont use it though its terrible...] So have you tried ALT+PRINTSCREEN? [While in-app]

if you still have issues I think its a system issue not exactly an Win7 issue...

try looking into CREATE BITMAP commands and apply it to a keyboard key say... P and create BMP images that way...

PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 24th Aug 2012 16:59
Tried the get image, save image of the screen. Text is showing but not the cards. Cards themselves are created as sprites so I can do simple flip and spin animations with them. Oh well I tried. Still feel it is not that important since someone can just download the game and see what it looks like. Probably create some screens when I have it more stuff debugged.
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 24th Aug 2012 19:41 Edited at: 24th Aug 2012 19:42
I was making you a screenie, but I think I also captured a bug. Both hands normally payout, but I got a push...



Attachments

Login to view attachments
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 24th Aug 2012 19:44
Well at least you learned of the Image commands now

And looks like Pax used printscreen...

at least you learned more from this

PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 24th Aug 2012 23:22
You should have won both hands when the dealer busts and you didn't. I will look into it this afternoon. Might be a Windows 7 issue stopping me from using alt + print screen, then paste. Could be Gimp also.
PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 25th Aug 2012 02:01
I fixed a few problems and uploaded a few screenshots to the webpage. I worked around the alt + print screen by running in a window to do the copy paste. It does not work in fullscreen mode.

The issue that cause our mysterious push was cause by it looking to see the dealers' total was > 22 instead of >= 22. That is the good thing about releasing it as a beta, people are going to find things I didn't think of looking for.

Does anybody have any additional rule options they want to see added? new features? I know people are going to be downloading this game around the world and probably people had gone to Casinos' playing with a variant of BlackJack (21.)
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 25th Aug 2012 10:29
I've worked in a Casino so I can tell you a few things that you might have missed out.

For example, you may not know that a Casino uses up to 8 decks of cards in a Card shoe. Which means that your game should have cards that are the same as each other. It doesn't really make much difference, it might make a difference to aces bunching up.

If the banker shows an ace you can bet on the banker having a Blackjack.

Apart from that, you could use chips, and you could use the mouse for selecting things.

PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 25th Aug 2012 19:51
I just got done with some modifications. I added mouse input for in game play. Changed how the text appears for split hand results. All the options should now work on both hands when splitting. New update has been uploaded.

Black Jack in the Dark has Deck Settings on the Title/Setting screen. Toward the left side of screen can set 48 or 52 card decks (Spanish 21 uses a 48 card deck.) Can set 4, 6, or 8 decks to be played It would do the equivalent of putting all the cards into a shoe. The shuffle puts the cards into a random draw order. Random Seed is -Timer multiplied by a number derived from the date. So even if you ran it at the same second the following day, or played with your system clock, it will still be unpredictable.
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 25th Aug 2012 20:08
Link goes to Imperium Magica Dungeon Downloads

PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 25th Aug 2012 22:34 Edited at: 25th Aug 2012 22:54
ok, I must have edited an older file that had the link messed up. I probably going to find a better webhosting and page editing once my account runs out. I am attaching it directly here.

Attachments

Login to view attachments
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 25th Aug 2012 23:49
Quote: "ok, I must have edited an older file that had the link messed up. I probably going to find a better webhosting and page editing once my account runs out. I am attaching it directly here. "


sniff sniff I smell a request coming on >.<

[read my sig]

PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 26th Aug 2012 01:39
I fixed all the links throughout my website. Imperium Magica is a RPG Maker and much older project I have been doing in Visual Basic and another 3D engine. At this point it is totally unrelated to anything I am doing in Dark Basic. I had been considering replacing its 3D middleware / Engine components to something like Dark GDK.NET. That is mostly from the people who are running Truevision3D stopped doing updates beyond supporting DirectX9. I am waiting to see what evolves out of this Dark Basic Elite and if a new engine Dark GDK comes out of it.

I know its going to be very hard to port the Imperium Magica Builder over to Dark Basic because it is heavily Object Oriented and MS Database DAO/ADO Dependent. It uses Windows Grid controls to edit most of the Data Tables. At least I have no desire to port it by myself.

I had given thought of putting together an Imperium Magica style RPG plugin for First Person Shooter stuff they have here. I have seen several MS Database plugins that will read the Imperium Magica Database Files inside Dark Basic. Use the FPS creator make the 3D part of it. However it is also something I probably want to work with someone from this community.
PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 26th Aug 2012 04:22 Edited at: 26th Aug 2012 21:56
Back to the main subject of BlackJack. It has been considered porting this over to AGK. I would need to work with who uses AppGameKit, make decisions of the layout, how small the card images should be. Maybe hand over the source code and let them do the primary porting. I would just be asking for percentage of profits if it becomes marketable.

Rescaling the images maybe problematic because they can become blurred, funky looking. I have a smaller set of cards that are currently down to 55x80 verses the 71x96 used for the PC version. I did a lot of copy and pasting parts of the images around to keep it sharp. The text on the cards are kept the same, but the symbols for Diamonds, Clubs, Hearts, and Spades were shrunk along with the spacing between them. Want to keep it readable.

EDIT:
I may upload updates to "BlackJack in the Dark" as I discover and fix bugs without posting anything on here. I am about to give this game a rest while I work on some different projects.

I may release the source code if someone is also interested in adding better effects, graphics, features to the DarkBasic PC version also. If they want me to upload it back to my webpage, I would have to review it to make sure there is anything not appropriate, malicious, or enables some sort of cheating. You can send me a private message or email me.
PeteyM5
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Buffalo NY USA
Posted: 28th Aug 2012 19:30
http://www.thepetezone.com/blackjack/

I am releasing the final beta now. Decided to put adding more features and options on hold. Final Beta has a couple bug fixes and I enhanced some of the card images. I am going to be involved with other projects for awhile.

I had given some thought about computer players or have it teach card counting.

Login to post a reply

Server time is: 2024-04-19 21:34:14
Your offset time is: 2024-04-19 21:34:14