Skip to content

Commit

Permalink
chore: update guess game random number range desc
Browse files Browse the repository at this point in the history
  • Loading branch information
ErnestThePoet committed Mar 23, 2024
1 parent 9020840 commit 5c82e8b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/demos.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
{
"name": "猜数游戏",
"irUrl": "demos/games/guess_game.ir",
"remark": "程序在[0,32768)内随机生成一个数字,请你来猜!猜小了会输出-1,猜大了会输出1。猜对了会输出什么?"
"remark": "程序在(-32768,32768)内随机生成一个数字,请你来猜!猜小了会输出-1,猜大了会输出1。猜对了会输出什么?"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/demos/games/guess_game.cmm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This program generates a secret random integer x in [0,32768).
* This program generates a secret random integer x in (-32768,32768).
* Then you guess the number. If your entered value is less than x, you'll see -1.
* Or if it's greater than x, you'll see 1. If you guess right, 666 will be written.
*/
Expand Down
2 changes: 1 addition & 1 deletion public/demos.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
{
"name": "猜数游戏",
"irUrl": "demos/games/guess_game.ir",
"remark": "程序在[0,32768)内随机生成一个数字,请你来猜!猜小了会输出-1,猜大了会输出1。猜对了会输出什么?"
"remark": "程序在(-32768,32768)内随机生成一个数字,请你来猜!猜小了会输出-1,猜大了会输出1。猜对了会输出什么?"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion public/demos/games/guess_game.cmm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This program generates a secret random integer x in [0,32768).
* This program generates a secret random integer x in (-32768,32768).
* Then you guess the number. If your entered value is less than x, you'll see -1.
* Or if it's greater than x, you'll see 1. If you guess right, 666 will be written.
*/
Expand Down

0 comments on commit 5c82e8b

Please sign in to comment.