Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char MoneyB[30];
- dice1=rand()%6 + 1;
- dice2=rand()%6 + 1;
- diceTotal=dice1+dice2;
- setTile(5,7,myScreenMap[dice1]);
- setTile(5,10,myScreenMap[dice2]);
- sprintf(MoneyB, "You win! You rolled %d", diceTotal);
- putText(8,1,MoneyB,1);
Add Comment
Please, Sign In to add comment