TicTxtToe

command module
v0.0.0-...-a2cf5a2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: MIT Imports: 13 Imported by: 0

README

official ioki Hackday project

TicTxtToe

An Tic Tac Toe client which can be played over SMS.

https://user-images.githubusercontent.com/64888250/192966997-e1fa0aa6-2e28-42bd-ab32-39c38c993997.mp4

The project was created at the Hackday 2022.

Setup

We use twilio to send the SMS. Therefore you need to create a twilio account and set up the "Mesage/SMS" feature.

Note: For testing purpose you can use the trial version of twilio.

Afterwards you have to paste the credentials in a file named config.json:

{
    "username": "TWILIO_USERNAME",
    "password": "TWILIO_PASSOWRD",
    "phonenumber": "TWILIO_PHONENUMBER"
}

Now you can run the server:

go run main.go

You may want to use ngrok to expose the them to the internet.

The URL has to be set as a SMS webhook for your phonenumber in the twilio console to receive the SMS someone sends to the twilio phonenumber.

Note: In case you use the trial account you have to verify all phonenumbers who sends a SMS to your twilio phonenumber first. See also the twilio docs for this.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL