Break Breaker Turing help URGENT
Author |
Message |
gibbit612
|
Posted: Mon Jan 03, 2011 9:28 pm Post subject: Break Breaker Turing help URGENT |
|
|
What is it you are trying to achieve?
<Hi im in Gr.10 and im trying to create break breaker but im struggling<>>
What is the problem you are having?
<placing ball, move box you control, bounce ball off your box, delete box that ball hits>
Turing: |
<var q, w, q1, w1, x, y : int
var fullName, answer : string
q := 200
w := 0
q1 := 310
w1 := 20
x := 10
y := 360
View.Set ("graphics:800;500")
put " Hello welcome to the brick breaker game! "
delay (1000)
put " Please Enter your full name in brackets: " ..
get fullName
cls
put " Hello ", fullName, " Welcome! Would you now like to play? (y/n)" ..
get answer
if answer = "y" then
cls
put " Loading..."
delay (2000)
else
put " Program Complete!"
delay (5000)
end if
cls
for a : 1 .. 5
for b : 1 .. 9
drawfillbox (x, y, x + 60, y + 15, 7)
x := x + 70
end for
x := 10
y := y - 30
end for
drawfillbox (q, w, q1, w1, green)
>
|
Please specify what version of Turing you are using
<Answer Here> |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
|
|
|
|
|
|