User prompt
When we click on the box, a random number pops out. After clicking on the box, we can see which number is inside.
User prompt
When we click on the box, the random number inside will appear.
User prompt
Once the boxes are opened, we can see what's inside.
User prompt
Let us see the random numbers in the boxes.
User prompt
Let there be 100 boxes and numbers on the boxes
User prompt
Please fix the bug: 'Uncaught TypeError: setTimeout is not a function' in or related to this line: 'setTimeout(function () {' Line Number: 89
Code edit (1 edits merged)
Please save this source code
User prompt
Prison Box Challenge
Initial prompt
The game will consist of the following: 100 2D prisoners and a room. Inside the room are 100 boxes with rows from 1 to 100. Inside each box will be a random number from 1 to 100.Each number can only be used once, and each prisoner can enter one by one and view the boxes until he finds the number written on it.The prisoner who finds his number goes out, and the new prisoner cannot see inside the boxes. Each prisoner has the chance to try 50 boxes.
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});