Skip to content

cwclancy/catan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Settlers Of Catan

Catan is a online multiplayer AI version of the classic game Settlers of Catan

How to Play

  1. go into the catanServer.py, catanClient.py, and saveme.py, files and change the HOST variable at the very top to a string of your I.P. address. You can find this by google searching "what is my IP address"
  2. run catanServer.py by entering 'python3 catanServer.py' in your terminal
  3. decide whether you want to play with just your friends or with your friends against AI
  4. if you want to play with just your friends simply have yourself and each of your friends run the catanClient.py file by entering 'python3 catanClient.py' in your terminal Careful only one person (you) runs the server file
  5. if you want to play with an AI you and all of your friends must first run 'python3 catanClient.py'. After you are all in the wait screen or lobby you run 'python3 saveme.py' it is important this file is run last
  6. Sign up/in and enjoy the wonderful world of Catan
  7. To end the game press the x in the top left then 'control-c'.

User Stories

  • Users validated with SQL database
  • Sockets allow for computer to computer communication
  • Multi-threading allows for seamlesss p2p communication and gameplay
  • Custom UI/UX keep to old time feel and simplicity of Catan
  • Data structures such as stacks, queues, priority queues, adjacency lists, graphs, hash maps increase efficiency
  • Algorithms such as Dijkstra's, Breadth First Search, and Depth First Search
  • Greedy AI

Video Walkthrough

License

Copyright [2018] [Connor Clancy]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Multiplayer Catan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages