User prompt
Before the game starts, ask easy, medium, hard and impossible (no error) questions to set the difficulty level of the bot, but do not ask other questions until the end of the game
User prompt
The robot was able to make mistakes in game difficulty
User prompt
Let's speed up more slowly, let the rackets get longer, let the ball get a little bigger.
User prompt
Please fix the bug: 'Uncaught ReferenceError: scoreboardText is not defined' in or related to this line: 'scoreboardText.setText(playerScore + ' - ' + aiScore);' Line Number: 329
User prompt
Let your robot have a scoreboard (0-0)
User prompt
Our racket goes instantly to the place where we touch it in its vertical position (only up and down)
Code edit (1 edits merged)
Please save this source code
User prompt
Ping Pong Championship
Initial prompt
Make a ping pong game and end at 5. At the beginning, type easy, medium, hard and impossible. If you select easy, the bot will play easy, if you select medium, the bot will play medium, if you select hard, the bot will play hard and if you select impossible, the bot will play without error. If the player is 5, the screen says congratulations on winning and play again (when you press repeat, it starts again), the number of games won in the upper left corner, the number of times the ball is hit in the upper right corner, only the first number asks for difficulty and the game does not start without choosing the difficulty. (in other numbers, touching anywhere on the screen is enough to start the number), the ball gradually accelerates with each hit, the flame comes out from behind the ball at the 5th ball hit and grows and grows until the 10th hit. 4. The scorer will have the match number written under the scoreboard.
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});