關於
Snake allows for an intuitive and fun Discord experience utilising reactions to allow for a user to play a game of snake
const sleep = (milliseconds) => {
return new Promise(resolve => setTimeout(resolve, milliseconds*1000))
}
const start = async() => {
p1 = document.getElementById('snakeAnimation');
p2 = document.getElementById('snakeAnimation2');
var sleepDelay = 1;
while(true) {
p1.innerHTML = "⬛⬛⬛⬜⬜⬛⬛⬛⬜⬜⬛";
p2.innerHTML = p1.innerHTML;
await sleep(sleepDelay);
p1.innerHTML = "⬜⬛⬛⬛⬜⬜⬛⬛⬛⬜⬜";
p2.innerHTML = p1.innerHTML;
await sleep(sleepDelay);
p1.innerHTML = "⬜⬜⬛⬛⬛⬜⬜⬛⬛⬛⬜";
p2.innerHTML = p1.innerHTML;
await sleep(sleepDelay);
p1.innerHTML = "⬛⬜⬜⬛⬛⬛⬜⬜⬛⬛⬛";
p2.innerHTML = p1.innerHTML;
await sleep(sleepDelay);
p1.innerHTML = "⬛⬛⬜⬜⬛⬛⬛⬜⬜⬛⬛";
p2.innerHTML = p1.innerHTML;
await sleep(sleepDelay);
}
}
⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
Snake Discord Bot
What Is Snake Bot?
Snake Bot is a discord bot that allows a user to play a game of snake within the discord messenger service using reactions.
How Is the Game Played?
Upon adding the Snake Bot to your server, it's commands will be completely functional. To begin a game, use the command s/start and you will be presented with a grid like this
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬛⬛⬛⬛⬛🍎⬛⬛⬛⬛
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛
⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛
Once the grid is displayed, the bot will begin adding the following Reactions to the message
⬅ LEFT
⬆ UP
⬇ DOWN
➡ RIGHT
During the game you can click on the direction that is appropriate to the direction you want to go in
If you're still confused you can use the s/help command for more specific information
How Do I Add SnakeBot To My Server?
You can use the command s/invite in a server that Snake Bot is in or you can follow the link
Invite Snake Bot
⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜
語言
- English
評價
登入 — 登入後即可撰寫評價。
尚無評價 — 來分享你的體驗吧。
投票統計
本指南過去 30 天記錄的資料。
最近 30 天
- 票數
最近 30 天這裡沒有投票。