- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I've written some code below and I can't get it to compile. I think I have my While and If in the wrong place. Any help is greatly appreciated! Here is the structured english: [CODE]PlayerOneScore <- 0 PlayerTwoScore <- 0 OUTPUT ‘How many balls do you wish to face?’ INPUT … |
|
im trying to draw a box using gotoxy and fucntions. this is what i have at the moment, but dont know what to do next to complete it: [CODE]Program box; uses Crt; procedure draw(x1,y1,x2,y2:integer); begin gotoxy(x1,y1); write('.'); gotoxy(x2,y2); write('.'); gotoxy(x1,y2); write('.'); gotoxy(x2,y1); write('.'); end; begin draw(10,10,15,15); end. [/CODE] |
|
I got this code and I cannot get it to work. I want it to show up with the type of attacks you can do which it does. After each time you attack the enemy the enemy attacks you of a damage between 1-10, then its my turn etc until … |
|
I want to code a little character fighting game in Pascal, I want to have 2 characters. They will attack each other, one will be computer and other will be the player. Each time its your turn a menu will come up saying what type of attack, I will have … |
|
How do I store the value after the orginal value has been calculated. For example I minus 10 from 100, and I want 90 to be stored and in the next calculation another 10 wil be minued from 90 not the 100 which the original. |
|
I need help creating a login screen. I don't know how to start it off. I have a newb in devpas so please bear with me. |