Categorygithub.com/jfosburgh/gomes
repository
0.0.0-20240906063949-1cdf77119d2f
Repository: https://github.com/jfosburgh/gomes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

gomes

A collection of simple games written in Go.

How to Play

Clone the Repo

git clone https://github.com/jfosburgh/gomes
cd gomes

Setup the Server

make build server
make run server

This will by default host the server at http://localhost:8080 To change the port, create a .env file in the gomes directory, and add the following:

SERVER_PORT=<port number>

Connect to the Server

Connect to the server and start playing! Currently supported clients are:

  • Browser
  • TUI (terminal user interface)
  • Generic JSON api

The Games

  • Tic-Tac-Toe
  • Connect4
  • Checkers
  • Chess
  • Wordle and more to come!

Technical Details

This project uses Go as the foundation, with HTMX for the browser frontend, and Wish to provide the ssh server functionality with bubbletea for the TUI.

Contributing

If you would like to contribute, fork the repo and make a pull request against main with your changes.