dependabot[bot] cfde2cb3d8 misc: bump bytes from 1.10.1 to 1.11.1 (#21)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.10.1 to 1.11.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.10.1...v1.11.1)

---
updated-dependencies:
- dependency-name: bytes
  dependency-version: 1.11.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
cfde2cb3d8 · 2026-03-06 00:56:24 -05:00
111 Commits
2025-11-18 14:33:42 -05:00
2026-03-06 00:55:16 -05:00
2025-12-02 13:05:35 -05:00
2025-11-17 11:18:27 -05:00
2025-11-19 16:46:14 -05:00
2025-12-02 19:28:32 -05:00
2025-11-11 13:35:54 -05:00

Connect4 Moderator - Server

A WebSocket server for the RPI Minds & Machines class and the Connect4 Final Project.

Built from the foundation of exoRift/mindsmachines-connect

To Build Your AI

Download the gameloop.py and agent.py files. It is heavily encouraged you only make changes to the agent.py file

In order to run your AI, you'll need:

  • Python 3
  • pip install websockets (Windows) or pip3 install websockets (Linux/macOS)
  • pip install pip-system-certs (Windows) or pip3 install pip-system-certs (Linux/macOS)
  • pip install wakepy (Windows) or pip3 install wakepy (Linux/macOS)

To run the example, run python gameloop.py (Windows) or python3 gameloop.py (Linux/macOS).

To Watch Games

The visual client for observing games/tournaments as well as managing games can be found at connect4-moderator-observer.

To Run the Server Locally

  • Install Git and the Rust programming language
  • git clone https://github.com/joshuafhiggins/connect4-moderator-server.git
  • cd connect4-moderator-server
  • cargo run --release demo

In this mode, you'll play against a player named demo who makes moves at random. If your AI makes invalid moves then your match is terminated and you are kicked from the server. If during the tournament you make an invalid move, you will instead immediately lose your game.

To connect to this server, use the address ws://localhost:8080

For Future Maintainers:

The Google Sheet outlining the communication protocol can be found here.

A JavaScript debug client that takes raw text as input and prints responses is provided,

  • npm i
  • node debug_client.js

I also apologize in advance for the code you'll go on to read.

Description
A WebSocket server for the RPI Minds & Machines class and the Connect4 Final Project. Built from the foundation of exoRift/mindsmachines-connect
Readme MIT 546 KiB
v2.0.0 Latest
2026-05-01 04:37:49 +00:00
Languages
Rust 93%
Python 4.2%
JavaScript 1.8%
Dockerfile 0.7%
Shell 0.3%