- Download the latest version of the server and client. To run the server:
- Open terminal/cmd. Move to the folder of the server. Run the .jar file: java -jar .jar
- Choose the map you want to run your codes on. To run clients:
- Choose Edit Configurations... from Run tab on GoLand IDE.
- Set name of the configuration to :
go build main.go network.go controller.go ai.go
- Run your code (Shift+F10) as the number of players in the game (4 times). Obviously, you can run different clients.
- If you're not using GoLand IDE, you can run the preceding command in terminal/cmd (in src/client/ folder) and then run the executable file, which is built, four times.
- You can also use following command in 4 different terminals/cmds instead of building the project :
go run .
-
Notifications
You must be signed in to change notification settings - Fork 0
SharifAIChallenge/AIC20-Client-Go
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published