Skip to content

Commit

Permalink
Fixed images
Browse files Browse the repository at this point in the history
  • Loading branch information
KennyKYLam committed May 21, 2014
1 parent 8cf5501 commit eff90b8
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 18 deletions.
Binary file modified BlackJack/BlackJack.v12.suo
Binary file not shown.
36 changes: 18 additions & 18 deletions BlackJack/BlackJack/BlackJack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,55 +47,55 @@ private int generatecard(PictureBox cardface)
int cardsum = 0;
switch (card){
case 1://SpadeA
cardface.ImageLocation ="https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spadeA.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spadeA.jpg";
cardsum = 11;
return cardsum;
case 2://Spade2
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade2.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade2.jpg";
cardsum = 2;
return cardsum;
case 3://Spade3
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade3.jpg";
cardsum = 3
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade3.jpg";
cardsum = 3;
return cardsum;
case 4://Spade4
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade4.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade4.jpg";
cardsum = 4;
return cardsum;
case 5://Spade5
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade5.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade5.jpg";
cardsum = 5;
return cardsum;
case 6://Spade6
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade6.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade6.jpg";
cardsum = 6;
return cardsum;
case 7://Spade7
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade7.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade7.jpg";
cardsum = 7;
return cardsum;
case 8://Spade8
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade8.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade8.jpg";
cardsum = 8;
return cardsum;
case 9://Spade9
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade9.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade9.jpg";
cardsum = 9;
return cardsum;
case 10://Spade10
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spade10.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spade10.jpg";
cardsum = 10;
return cardsum;
case 11://SpadeJ
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spadeJ.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spadeJ.jpg";
cardsum = 10;
return cardsum;
case 12://SpadeQ
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spadeQ.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spadeQ.jpg";
cardsum = 10;
return cardsum;
case 13://SpadeK
cardface.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/spadeK.jpg";
cardface.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/spadeK.jpg";
cardsum = 10;
return cardsum;
default:
Expand Down Expand Up @@ -227,13 +227,13 @@ private void reset()
{
messagebox.Text = "";

playercard1.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/cardback.jpg";
playercard2.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/cardback.jpg";
playercard1.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/cardback.jpg";
playercard2.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/cardback.jpg";
playercard3.Image = null;
playercard4.Image = null;
playercard5.Image = null;
dealercard1.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/cardback.jpg";
dealercard2.ImageLocation = "https://github.com/KennyKYLam/BlackJack/blob/master/BlackJack/BlackJack/images/cardback.jpg";
dealercard1.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/cardback.jpg";
dealercard2.ImageLocation = "https://raw.githubusercontent.com/KennyKYLam/BlackJack/master/BlackJack/BlackJack/images/cardback.jpg";
dealercard3.Image = null;
dealercard4.Image = null;
dealercard5.Image = null;
Expand Down
Binary file modified BlackJack/BlackJack/bin/Debug/BlackJack.exe
Binary file not shown.
Binary file modified BlackJack/BlackJack/bin/Debug/BlackJack.pdb
Binary file not shown.
11 changes: 11 additions & 0 deletions BlackJack/BlackJack/bin/Debug/BlackJack.vshost.exe.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ C:\Users\kenny\Desktop\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.Propert
C:\Users\kenny\Desktop\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.csproj.GenerateResource.Cache
C:\Users\kenny\Desktop\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.exe
C:\Users\kenny\Desktop\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.pdb
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\bin\Debug\BlackJack.exe.config
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.exe
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.pdb
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.csprojResolveAssemblyReference.cache
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.BlackJack.resources
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.Properties.Resources.resources
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\obj\Debug\BlackJack.csproj.GenerateResource.Cache
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\bin\Debug\BlackJack.exe
C:\Users\kenny\Documents\GitHub\BlackJack\BlackJack\BlackJack\bin\Debug\BlackJack.pdb
Binary file modified BlackJack/BlackJack/obj/Debug/BlackJack.exe
Binary file not shown.
Binary file modified BlackJack/BlackJack/obj/Debug/BlackJack.pdb
Binary file not shown.
Binary file not shown.

0 comments on commit eff90b8

Please sign in to comment.