menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
Natalie is creating a game. The object of the game is for the player to get a cat to his toy in 10 moves or less. The game begins with the cat positioned at the top-left corner …
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Natalie is creating a game. The object of the game is for the player to get a cat to his toy in 10 moves or less. The game begins with the cat positioned at the top-left corner …
asked
Feb 19, 2024
196k
views
3
votes
Natalie is creating a game. The object of the game is for the player to get a cat to his toy in 10 moves or less. The game begins with the cat positioned at the top-left corner of the screen and the toy at the bottom-right corner of the screen. Natalie wants the player to be able to make the cat go 50 steps in one move by pressing an arrow key, and go 100 steps in one move by pressing the space bar. The number of remaining moves is decreased by one each time the player presses a key. The game will count down from 10 moves and display the number of moves remaining. If the move count reaches zero or the cat reaches his toy, then the game will start over. Natalie discovers that her program is not restarting when the number of remaining moves reaches zero. Consider the following code segment: if movesRemaining = 0 then What is wrong with this expression that Natalie wrote?
Computers & Tech
college
Tom Hamilton Stubber
asked
by
Tom Hamilton Stubber
8.5k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
4
votes
Answer: she forgot to write a loop program like while, or for
Step-by-step explanation:
JFAP
answered
Feb 24, 2024
by
JFAP
7.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
No related questions found
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty