Skip to content

Commit

Permalink
random stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsSammyM committed Dec 6, 2023
1 parent c56c6ed commit 74f4bf9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/src/components/WikiSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const PAGES: WikiPage[] = Object.keys(ROLES).map(role => `role/${role}`)
export default class WikiSearch extends React.Component<WikiSearchProps, WikiSearchState> {

private static activeWikis: WikiSearch[] = [];
history: HistoryQueue<WikiSearchState> = new HistoryQueue(10);
history: HistoryQueue<WikiSearchState> = new HistoryQueue(20);

constructor(props: WikiSearchProps) {
super(props);
Expand Down
2 changes: 1 addition & 1 deletion client/src/menu/game/HeaderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default class HeaderMenu extends React.Component<HeaderMenuProps, HeaderM

render(){
const timerStyle = {
paddingTop: '100%',
height: "100%",
backgroundColor: 'red',
width: `${(this.state.gameState.timeLeftMs) * (100/(60*1000))}%`,
margin: '0 auto', // Center the timer horizontally
Expand Down
1 change: 0 additions & 1 deletion client/src/menu/game/gameScreenContent/playerListMenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@


.player-list-menu .player{
width: 100%;
display: flex;
flex-direction: column;
text-align: left;
Expand Down
2 changes: 1 addition & 1 deletion client/src/menu/lobby/LobbyMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class LobbyMenu extends React.Component<LobbyMenuProps, LobbyMenu
</section>}
</div>
<div>
{Anchor.isMobile() && <h1>{translate("menu.lobby.gameSettings")}</h1>}
{Anchor.isMobile() && <h1>{translate("menu.lobby.settings")}</h1>}
<LobbyPhaseTimePane/>
<LobbyRolePane/>
<LobbyExcludedRoles/>
Expand Down
10 changes: 5 additions & 5 deletions client/src/resources/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"menu.start.button.login": "Log in",
"menu.start.button.logout": "Log out",

"menu.join.title": "Join Game",
"menu.join.title": "Join",
"menu.join.button.join": "Join Lobby",
"menu.join.field.roomCode": "Room code",
"menu.join.field.name": "Name",
Expand All @@ -16,15 +16,15 @@
"menu.button.close": "Close",

"menu.lobby.title": "Lobby \\0",
"menu.lobby.button.start": "Start Game",
"menu.lobby.button.start": "Start",
"menu.lobby.field.namePlaceholder": "Enter name",
"menu.lobby.button.setName": "Set Name",
"menu.lobby.button.setTimeSettings": "Set Time Settings",
"menu.lobby.player": "\\0: (\\1)",
"menu.lobby.roleList": "Role List:",
"menu.lobby.excludedRoles": "Exclusions:",
"menu.lobby.timeSettings": "Times:",
"menu.lobby.gameSettings": "Game Settings:",
"menu.lobby.settings": "Settings:",
"menu.lobby.kick": "Kick",

"menu.excludedRoles.exclude": "Exclude",
Expand Down Expand Up @@ -532,8 +532,8 @@
"wiki.entry.role.executioner.attributes":"* After you win you will commit suicide\n* Your target will always be a townie, but never town power, or town killing",

"wiki.entry.role.doomsayer.title": "Doomsayer",
"wiki.entry.role.doomsayer.abilities":"* Guess the role of three living players in one night, killing them and winning the game",
"wiki.entry.role.doomsayer.attributes":"* When you win, you will commit suicide using an unstoppable attack\n* You have to guess the exact role of townies, but just the faction of all other roles\n* You can not try to guess town investigative roles\n* If there are not enough players left for you to guess and win the game, you will convert to a jester\n* You do not visit\n* Your attack is unstoppable",
"wiki.entry.role.doomsayer.abilities":"* Guess the role of three living players in one night, killing them and winning",
"wiki.entry.role.doomsayer.attributes":"* When you win, you will commit suicide using an unstoppable attack\n* You have to guess the exact role of townies, but just the faction of all other roles\n* You can not try to guess town investigative roles\n* If there are not enough players left for you to guess and win, you will convert to a jester\n* You do not visit\n* Your attack is unstoppable",

"wiki.entry.role.vampire.title": "Vampire",
"wiki.entry.role.vampire.abilities":"* Bite a player to convert them to a vampire",
Expand Down

1 comment on commit 74f4bf9

@vercel
Copy link

@vercel vercel bot commented on 74f4bf9 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mafia-game – ./

mafia-game-itssammym.vercel.app
mafia-game-git-00x-main-itssammym.vercel.app
mafia-game.vercel.app

Please sign in to comment.