Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function drawFood() {
- ctx.fillStyle = 'red';
- ctx.strokeRect = 'darkred';
- ctx.fillRect(foodX, foodY, 10, 10);
- ctx.strokeRect(foodX, foodY, 10, 10);
- }
- function drawFood() {
- ctx.fillStyle = 'red';
- ctx.strokestyle = 'darkred';
- ctx.fillRect(foodX, foodY, 10, 10);
- ctx.strokeRect(foodX, foodY, 10, 10);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement