This project was done in order to improve my Golang skills.
It simulates an auction house where you can create rooms and place bids for certain rewards.
Since it's an auction house, it must support several clients. Golang makes it simple to do so by using goroutines.
Clients connect to the server using TCP connection. This could also be done by using UDP or HTTP.
To start the server:
- Open a command line window or terminal and navigate to the server folder.
- If on Windows, simply run:
server {PORT}
where {PORT} is the port you desire. - Otherwise you must have Golang installed and run
go build
To start a client:
- Open a command line window or terminal and navigate to the client folder
- If on Windows, simply run
client {IP}:{PORT}
where {IP} is localhost or 127.0.0.1 and {PORT} is the one specified in the server - Otherwise you must have Golang installed and run
go build
- Repeat the process for as many clients as you want!