Skip to content

Commit

Permalink
更新日志
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhaomax committed Mar 18, 2024
1 parent 77e83c9 commit 189be7b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/pages/gaming/Gaming.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function Gaming() {
}
socket.onmessage = function(event) {
// TODO 内测用,记得关闭
console.log("Received message from server:", JSON.parse(event.data))
// console.log("Received message from server:", JSON.parse(event.data))
setGame(JSON.parse(event.data))
}
socket.onerror = function(error) {
Expand Down
11 changes: 11 additions & 0 deletions client/src/pages/room/UpdateLog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@ import React from "react"
import {marked} from "marked"

const text = `
v1.0.5 更新内容:
1. 提名、投票、处决,方式与判定重做
2. 由于提名的改动,死人可以被提名
3. 由于投票的改动,活人可以无限投票,死后只保留一票
4. 由于处决的改动,死人可以被处决
5. 现在白天可以由多个玩家发起各一次提名,被提名当日也只有一次,切换日夜时,统计票数执行处决
6. 大于等于活人数量的一半且票数为最多且最多票得主只有一人,执行处决
7. 现在小恶魔、下毒者、杀手等具有主动技能的身份,均可对死人施法
8. 自己未死,看到其他玩家死亡,只是名字上有删除线,依然可以选择这名已死的玩家
9. 自己死亡,看到其他玩家死亡,名字上不仅有删除线,底色还会变黑,不再能选择玩家
v1.0.4 更新内容:
1. 在房间页面增加游戏说明与更新日志按钮,可以相应查看
Expand Down

0 comments on commit 189be7b

Please sign in to comment.