BlackJack

Course: BTEC Level 3 Game Design Extended Diploma
Teacher: Wayne Cheeseman
Student: Ibraahiim Ahmed
Assignment: Three in one games

Neither of these games are full completed. As I had most trouble with Blackjack, as I had to figure how to make the code that would use Random Number Generator, while removing the cards that have been picked.

Black Jack (Incomplete):

Millions of players have heard the message that of all the casino table games, blackjack is the one that it is possible to beat. A practical system for counting cards in blackjack to gain an edge over the casino was made available to the public in the early 1960s. As it happened, few players ever really learned to beat the dealer. Furthermore, playing conditions have changed since then. Some tables use more than one deck at a time or cut a percentage of the cards out of play so that a card counter never sees them. They do this in hope of gaining easy money by risking their own money they have put down, or some people do for the fun. As it can be played as an entertaining themselves.

Here all the sprites, codes, background and object. All of these were used the game:

Everything
The sprites I have created are the four players, twist, break and the deck of cards. Each of these items of their own animation that has been made for them. The animation are do by pixel by seconds. Firstly, I will be showing all of the 52 cards I have made. I have also giving the cards a bit of a shading effect that from the right side:

These cards was made by myself. I as wanted too make my own cards, then rather taking them of the internet. These cards as the same shape and size, but the only problem I had was that they were a bit too small. As the window of the game was rather small to see on the screen.

The three AI's sprites I have made are several different ones, with their own given on their animation. As first on is eyes moving left to right, then looping again. Then there the second sprite, doing a side blick (eyes closing left to right to the middle). The third one is about is doing a normal blink, on a loop. Here are the three sprites:

Eyes Moving Loop
Side Blinks on Loop
Normal Blinks on Loop
Then their the player spirite. As wasn't sure how the player would look like, so I decided to just use the same shape I used in the AI sprites. It just a blank circle with bit of thick black line around it. Too avoid any issues, I decide to make it just blank to it can tell that this

Player Sprite 
Then there is three types of buttons I have made on a game. First on is twist, which the player ask for extra card to try to win the game. Then theirs break, where the player want to split he two cards they have to drop the number lowers. So they can have a chance to win.

Break Button

Twist  Button
I have to badly admit that had not putt that much effort into the background. As I wanted to keep it a generic gambling table we see. So I used a dark green colour as background, as well the boarder being. I did this because it most common thing that is seen in casinos or other gambling stations.

Generic Gambling Table
I've tried to make a pause function for the game. It does work (logically, from coding), but appearance wise it doesn't really look pleasing. As the wording and box are not in the same positioning and place. As I had to continuously keep on trying and failing to figure out the problem. It still doesn't work.

Add caption
Draw Code
Action Code
Creation Code

Now for main mechanic. I wasn't able to make it work probably with other code, so I didn't get chance to see the game to function. As it was not recognizing the other codes. As the global variables doesn't want to recolonize the other codes that was made.

Global Variable Coding
Random Number Generating Code

Handing Cards Out









Comments

Popular Posts