master
Jordan Orelli 4 years ago
parent 683eb5b368
commit e26705d6dd

@ -77,7 +77,7 @@ func (ui *UI) Run() {
func (ui *UI) connect() error { func (ui *UI) connect() error {
ui.client = &wire.Client{ ui.client = &wire.Client{
Log: ui.Child("client"), Log: ui.Child("client"),
Host: "127.0.0.1", Host: "cdm.jordanorelli.com",
Port: 12805, Port: 12805,
} }

@ -41,7 +41,7 @@ func newWorld(log *blammo.Log) *world {
foyer.addEntity(&entity{ foyer.addEntity(&entity{
ID: -1, ID: -1,
Position: math.Vec{5, 5}, Position: math.Vec{5, 4},
Glyph: 'd', Glyph: 'd',
solid: true, solid: true,
behavior: doNothing{}, behavior: doNothing{},

@ -38,7 +38,7 @@ func main() {
runClient(os.Args[2]) runClient(os.Args[2])
case "server": case "server":
s := sim.Server{} s := sim.Server{}
if err := s.Start("127.0.0.1", 12805); err != nil { if err := s.Start("cdm.jordanorelli.com", 12805); err != nil {
exit.WithMessage(1, "unable to start server: %v", err) exit.WithMessage(1, "unable to start server: %v", err)
} }
sig := make(chan os.Signal, 1) sig := make(chan os.Signal, 1)

Loading…
Cancel
Save