0
Easy one !!!
I want to create a message as game over on the screen, what should I code to creat it.?
7 ответов
+ 2
Well, it depends on the programming language and/or platform. But here on SoloLearn, we don't write the code for you. You write something and it if doesn't work properly, show your code to us and we will help you fix it.
+ 2
I will send a code
#include <studio.h>
Int main()
{
Int m;
Printf ("game over") ;
return 0;
}
+ 1
use relevant tags;
if there is the end of the game:
stop the loop, keep the last screen and display the message in the foreground
+ 1
message = "Game over"
message
+ 1
Está correcto?
+ 1
You can use the js code
And html to make a button and make it function by js here's the code:
HTML:
<button onclick = "myFunction1()">message</button>
JS:
function "myFunction1()" {
Alert("my message")
}
This code works
0
Hmmm 🤔