Be a Supporter!

Programming Tutorial 2

Score:
rated 3.12 / 5 stars
Views:
3,667 Views
Share Links:
Genre:
More Games
Tags:
None

Credits & Info

Uploaded
Feb 12, 2005 | 2:11 PM EST

If you liked this, check these out!


Author Comments

don't blam if you don't like programming. includes C++ and VB.

Reviews


Gothicanime20Gothicanime20

Rated 3.5 / 5 stars

Well

This is much better then your last one, you got rid of those noobish colors, the text was very easy to read. Again it sucks that I don't use either.

I ask again for an AS2 tutorial.... perhaps it would earn you a bit more respect on newgrounds!

Thanks for submitting this and giving me something new to look at while I hang out!



NinoGroundsNinoGrounds

Rated 4 / 5 stars

OMGlolWIN | OWNAGE=80%

dim age as integer
Private Sub cmdcalc_Click()

age = txtage.text
if (age > 100) then
txtans.text = "wow, your age is over 100"
else if(age < 100) then
txtans.text ="Your age under 100"
end if

End Sub

Private Sub Form_Load()
Form1.Show

For i = 1 To 10
Print i
Next i

End Sub

# include <iostream.h>
# include <stdlib.h>

int main()
{
int playercardv1 = 0;
int totalplayerv = 0;
int compcardv1 = rand() %11;
int compcardv2 = rand() %10;
int hit = 1;
int compv = compcardv1 + compcardv2;

while (hit == 1)
{
cout<<"welcome to BlackJack"<<endl;
playercardv1 = rand() %10;
cout<<"Player gets "<<playercardv1<<endl;
totalplayerv += playercardv1;
cout<<"You have: "<< totalplayerv<<endl<<"Do you want to hit?(1 for yes, 2 for no)"<<endl;
cin>>hit;
cin.get();

if (hit == 2)
{
cout<<"Players total:"<<totalplayerv<<endl;
cout<<"Computer gets:"<<compv<<endl;
if(totalplayerv > 21)
{
cout<<"You lose"<<endl;
cin.get();
return 0;
}
///higher card check

if (compv > totalplayerv)
{
cout<<"You lose!"<<endl;
cin.get();
return 0;
}
else
{
cout<<"You win!"<<endl;
cin.get();
return 0;
}

}
//player says 1
if(totalplayerv > 21)
{
cout<<"You lose"<<endl;
cin.get();
return 0;
}

}
}
//end of code

<?
echo 'Pretty good Tutorial. Good explained, but still blad and pothetic';
define(pothetic, "Means not very good");
echo '<br>';
echo 'I voted Five';
echo '&nbps;';
?>

~Nino



SkillBladeSkillBlade

Rated 1.5 / 5 stars

......

Thank god you took out the music a little improvements made but still needs more explanationand definitions like what variables are...etc good try though



magpieOfDoommagpieOfDoom

Rated 2.5 / 5 stars

Good

Love Daddy -- you really are not that great at programming. I have seen many of your scripts in the programming forum, and they are the work of a beginner. I'm really glad that you are enthusiastic about programming, but you really should LEARN before labeling yourself as a guru and posting badly spelt tutorials that teach very little. As for aesthetics -- at the risk of a vague assumption, shouldn't programmers know that black on white is easiest on the eyes (think: Linux)?


People find this review helpful!
Cinjection responds:

well i am new to C++ but i've been doing VB for a while. I never called myself a "guru programmer". But i know enough to teach beginers the basics. This tutorial is to mabey spark a intrest in programming not to confuse everyone if i start to post API codes and what not.


Min-T-FreshMin-T-Fresh

Rated 2.5 / 5 stars

some improvement

The look and content of the flash is slightly better than the last one but still has considerable room for improvement. Don't forget that aesthetics are as important as the content.