Skip to content

A simple Tic Tac Toe played on the terminal using library Bubbletea from charm.sh

License

Notifications You must be signed in to change notification settings

christopher-kleine/bubble-tictactoe

Repository files navigation

bubble-tictactoe

A simple Tic Tac Toe played on the terminal using library Bubbletea from charm.sh.

Install

go install github.com/christopher-kleine/bubble-tictactoe/cmd/bubble-tictactoe@latest

Usage

You can press one of the following keys:

  • h = Show the help
  • t = Toggle through the board designs
  • Up, Down, Left, Right = Move the cursor
  • Enter = Place your piece on the board
  • q, Ctrl+C = Quit the game
  • n = Start a new game
  • m = Let the AI make a move

Purpose

This simple game is meant as part of a small game collection that can be played over SSH. For this, the repo buuble-games exist.

However, the game can be played standalone. See the Install section for this.

About

A simple Tic Tac Toe played on the terminal using library Bubbletea from charm.sh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages