Skip to content

Commit

Permalink
feat: upgrade core version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ainilili committed Apr 10, 2024
1 parent b4d9ebc commit b486f9a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/feel-easy/mahjong v0.0.0-20220721030133-7a0f4032c008
github.com/feel-easy/uno v0.0.0-20220721061415-e6a3189cfd70
github.com/gorilla/websocket v1.4.2
github.com/ratel-online/core v0.0.0-20240410105638-a7e4146f84bc
github.com/ratel-online/core v0.0.0-20240410123929-a9a4ad51dc6b
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ github.com/ratel-online/core v0.0.0-20220717092113-9fdec75dd055 h1:DUGSs+HCGwcOp
github.com/ratel-online/core v0.0.0-20220717092113-9fdec75dd055/go.mod h1:8SYaPGDk9dVGnUIEkanZvV1ErTqd8OdedKNCwyXgRjI=
github.com/ratel-online/core v0.0.0-20240410105638-a7e4146f84bc h1:aDktTjLc2Y9dRh1dD2NXlt3ObqAQI64rbhfmVDwIuVU=
github.com/ratel-online/core v0.0.0-20240410105638-a7e4146f84bc/go.mod h1:8SYaPGDk9dVGnUIEkanZvV1ErTqd8OdedKNCwyXgRjI=
github.com/ratel-online/core v0.0.0-20240410123929-a9a4ad51dc6b h1:RNJtWkOx8XGsDhT6APZk4wYpxzs3r/B0h1n/GyP7ids=
github.com/ratel-online/core v0.0.0-20240410123929-a9a4ad51dc6b/go.mod h1:8SYaPGDk9dVGnUIEkanZvV1ErTqd8OdedKNCwyXgRjI=
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0=
github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
Expand Down
2 changes: 1 addition & 1 deletion state/game/texas/bet.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func bet(player *database.Player, game *database.Texas) error {
return nextPlayer(player, game, stateBet)
}

database.Broadcast(player.RoomID, fmt.Sprintf("Next it's %s's turn to bet\n", player.Name), player.ID)
database.Broadcast(player.RoomID, fmt.Sprintf("%s's turn to bet\n", player.Name), player.ID)

timeout := consts.BetTimeout
for {
Expand Down

0 comments on commit b486f9a

Please sign in to comment.