Skip to content

PRZYPRAWA/Connect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔴⚫ Connect4 Game License Contributions welcome

Online multiplayer connetion board game


- ✅ Pair programming
- ✅ TDD
- ✅ Event Driven Architecture (EDA)
- ✅ Client server publish/subscribe messaging pattern (by using MQTT 3.1.1 protocol)

Rules

https://en.wikipedia.org/wiki/Connect_Four

Gameplay

Screenshots

game screenshot wrong column win

How to use it ?

0️⃣ If you dont have installed MQTT on your PC run this command:

pip install paho-mqtt

or downlad it by using this link: https://mosquitto.org/download/

1️⃣ Download at least bin subdirectories, both from Server and Client directory

2️⃣ One of the players need to run a server:

  1. open directory Server/bin
  2. open one of the directories (Linux / Windows), according to your Operating System:
  • Linux

Open it by console with command:

java -jar Server.jar
  • Windows
    Windows CMD not support ansi colors in console, so to run game properly, you need to do steps from a) OR b):

    a) Open it using bash (e.g. Git Bash) identically as in Linux
    b) Open it using CMD:
    • Open one of directories (x64 or x86), according to your system version
    • run RunGame.bat script (just clik on it)

3️⃣ Both players need to run a client application

  1. open Client/bin
  2. Repeat steps similiary as for Server application (for Linux with command):
java -jar Client.jar

4️⃣ Enter server ID (from Server console) into both clients application
5️⃣ Enjoy the game!

TIPS

  • If you don't see directories x64 or x86 inside bin/Windows after downloading it, or you have some other problems, try to disable Windows Defender, download directory again and repeat steps

📫 Authors

game logic game logic
UI (CLI)
EDA with MQTT



Feel free to contact with us. And hope you enjoy the game 😎

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published