small elixir learning exercise
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Elixir 100.0%
12 1 0

Clone this repository

https://tangled.org/pfeyz.bsky.social/tic-tac-toe-elixir https://tangled.org/did:plc:ed4kx4xibohk7dd7c3d6egxu/tic-tac-toe-elixir
git@tangled.org:pfeyz.bsky.social/tic-tac-toe-elixir git@tangled.org:did:plc:ed4kx4xibohk7dd7c3d6egxu/tic-tac-toe-elixir

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

TicTacToe#

A simple tic tac toe game in elixir.

To see two random players play against each other, run:

mix start_game

or you can specify two differnet players types to pit against each other, choosing from

  • rand: a random move player
  • term: an interactive player providing moves via the terminal
  • udp: a player that will send moves via udp packets

for example, to make player X play via the terminal and player O play via udp:

mix start_game term udp