Skip to content

Getting Started

Trent M. Wyatt edited this page Apr 23, 2025 · 1 revision

Getting Started

This page walks you from clone to first move.

1. Prerequisites

  • Arduino IDE ≥ 1.8 or arduino-cli.
  • A board supported by the Arduino ecosystem (Uno, Nano, Mega, ESP32, etc.).
  • C++17‑capable compiler (avr‑gcc 13+, gcc 10+, clang 11+).

2. Install the Library

Arduino IDE

  1. git clone https://github.com/ripred/Minimax.git
  2. Move the folder to ~/Documents/Arduino/libraries/.
  3. Restart the IDE.

Arduino‑CLI / CI

arduino-cli lib install --git-url https://github.com/ripred/Minimax.git

3. Open an Example

File → Examples → MinimaxConnectFour
Select your board/port and click Upload.

4. Serial Controls

  • All sketches run at 115200 baud.
  • Use numeric input when prompted (e.g., column number in Connect‑Four).

5. Next Steps

Clone this wiki locally