Skip to content

Commit

Permalink
feat(layout): change 2 players layout
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermebkel authored Mar 23, 2024
1 parent 57811a0 commit 3ed3e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/unoenty/src/hooks/useSocket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const useSocket = (): UseSocketResponse => {
const getLayoutedOtherPlayers = (): Record<GameDeckLayoutPosition, PlayerData> => {
const positionsByAmountOfPlayersMap: Record<number, GameDeckLayoutPosition[]> = {
1: ["bottom"],
2: ["bottom", "right"],
2: ["bottom", "top"],
3: ["bottom", "right", "left"],
4: ["bottom", "right", "top", "left"],
5: ["bottom", "right", "topRight", "top", "left"],
Expand Down

0 comments on commit 3ed3e48

Please sign in to comment.