jiyoumcc / findghost Goto Github PK
View Code? Open in Web Editor NEW:ghost: Web script for a game "find ghost" (抓鬼)
Home Page: https://jiyoumcc.github.io/FindGhost/
License: GNU General Public License v3.0
:ghost: Web script for a game "find ghost" (抓鬼)
Home Page: https://jiyoumcc.github.io/FindGhost/
License: GNU General Public License v3.0
【游戏信息】法官“睡觉觉”很无聊,走了。
【系统消息】“睡觉觉”离开了。
14:12:00 LL:(小白来了)
【系统消息】“LL”离开了。
【系统消息】“叶子”离开了。
【系统消息】“太极手”离开了。
【系统消息】“烤斑马的蝴蝶”离开了。
【游戏信息】游戏结束, 人赢了!
【游戏信息】玩家“LL”逃跑了,Ta在逃跑的路上被活活呸死~~
【游戏信息】游戏结束, 人赢了!
【游戏信息】玩家“太极手”逃跑了,Ta在逃跑的路上被活活呸死~~
【游戏信息】游戏结束, 人赢了!
【游戏信息】玩家“烤斑马的蝴蝶”逃跑了,Ta在逃跑的路上被活活呸死~~
【游戏信息】人词:月落鸟啼
【游戏信息】人词:月落鸟啼
【游戏信息】人词:月落鸟啼
【游戏信息】鬼词:月落狐啼
【游戏信息】鬼词:月落狐啼
【游戏信息】鬼词:月落狐啼
【游戏信息】人:太极手,烤斑马的蝴蝶
【游戏信息】人:太极手,烤斑马的蝴蝶
【游戏信息】人:太极手,烤斑马的蝴蝶
【游戏信息】鬼:LL
【游戏信息】鬼:LL
【游戏信息】鬼:LL
14:12:19 睡觉觉:。。。。
14:12:26 烤斑马的蝴蝶:LL跑了?
14:12:26 LL:................
14:12:32 LL:系统有问题
14:12:35 LL:啊啊啊啊啊
【游戏信息】“睡觉觉”要抓鬼!
【游戏信息】“睡觉觉”不玩了。
14:12:46 LL:不然我第一个说 怎么会错
14:12:46 睡觉觉:什么问题
14:12:47 烤斑马的蝴蝶:怎么全跑了
14:13:03 LL:系统把我们踢走了啊
14:13:06 烤斑马的蝴蝶:好像系统问题,要告诉草草
【游戏信息】“LL”要抓鬼!
14:13:13 LL:之前也试过
【游戏信息】“太极手”要抓鬼!
14:13:15 叶子:这是出BUG了?
【游戏信息】“烤斑马的蝴蝶”要抓鬼!
14:13:35 太极手:不知道什么毛病
14:13:42 叶子:好像是法官逃跑了,就造成全部逃跑了
14:13:53 叶子:记下来跟草兔说
14:13:56 LL:斑马是自动被退出了吗
比如法官
游戏中突然状态异常,出现所有人员批量离线或者逃跑
投票未结束,某人就被投死了,游戏异常结束
游戏记录没有滚动条
怎么显示可以优化...
@JiYouMCC
上线提醒要正常一些,浏览器记忆的在线不算数
不知道结束的逻辑究竟是什么, 不是应该是 [游戏结束] 么..
ref:
document.addEventListener('DOMContentLoaded', function () {
if (!Notification) {
alert('Desktop notifications not available in your browser. Try Chromium.');
return;
}
if (Notification.permission !== "granted")
Notification.requestPermission();
});
function notifyMe() {
if (Notification.permission !== "granted")
Notification.requestPermission();
else {
var notification = new Notification('Notification title', {
icon: 'http://cdn.sstatic.net/stackexchange/img/logos/so/so-icon.png',
body: "Hey there! You've been notified!",
});
notification.onclick = function () {
window.focus()
};
}
}
如题
标题请直接写问题,不要写“发现一个bug进来看”之类的
右下角的统计 小白和法官都是白色额
目前想到的
1, 可以设置爆词模式:提醒or判死
2, 投票超过半数:提醒or判死
1 设置是否滚屏
2 删除时间戳功能
3 设置只显示512的消息
rt
默认应该是都不显示
beta分支做重构
项目地址:https://github.com/demohi/end
看看能否取代野狗
消灭萝莉!! @BeniZhu
抓爆词不要在发言后
直接踢爆词玩家出局,很容易导致游戏结束。
可以改成在玩家发言的时候,系统发现有爆词就拦截住不发出来,然后提示该玩家修改,直到没有爆词再发出。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.