Skip to content

Madalosso/learn-pub-sub-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learn-pub-sub-starter (Peril)

This is the starter code used in Boot.dev's Learn Pub/Sub course. It contains:

  • The internal/gamelogic package, which contains the game logic for the Peril game.
  • The internal/routing package, which contains some routing constants for the game.
  • Stubs of the cmd/client and cmd/server packages, which are main packages that run the client and server for the game.
  • The rabbitmq.sh script, which starts a RabbitMQ server in a Docker container.

Running the Game

Make sure you have a RabbitMQ server running locally:

./rabbit.sh

Using separate terminal windows, you can run clients and servers:

go run ./cmd/server
go run ./cmd/client

You will be working in this repository and editing it's files throughout the course. You can peek the solution at any time in the course to make sure you're on the right track.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.1%
  • Shell 5.6%
  • Dockerfile 0.3%