Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barrybecker4/onlinettt
Attempt to create a massively multiplayer Tic-Tac-Toe game where any number of online players are automatically paired.
https://github.com/barrybecker4/onlinettt
Last synced: about 1 month ago
JSON representation
Attempt to create a massively multiplayer Tic-Tac-Toe game where any number of online players are automatically paired.
- Host: GitHub
- URL: https://github.com/barrybecker4/onlinettt
- Owner: barrybecker4
- License: mit
- Created: 2020-05-02T15:34:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T13:32:54.000Z (over 4 years ago)
- Last Synced: 2024-11-02T05:41:51.042Z (3 months ago)
- Language: HTML
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Online Tic-Tac-toe
==========
An experiment in using GAS (Google App Script) to create a massively multiplayer game. For now the game is simply [tic-tac-toe](https://script.google.com/macros/s/AKfycbzu3mOvm6nqAH2lGgFltuolTqIXDmmMoXSGyEY3Ohu2D2NtcRo8/exec), but this example could provide a framework for more sophisticated multiplayer games.
## How to Run and Contribute
This is a Google App Script (GAS) application.
If you would like to contribute, first install [CLASP](https://github.com/google/clasp).
Next git clone this repository somewhere on your local machine.
Then, from the TTTApp directory within the cloned project directory, run the following commands:
* clasp login (_using gmail account_)
* clasp create --type webapp (_this creates a script with this name in your Google Drive_)
* clasp push (_push all the files in the project directory into that script in the cloud_)
Now you are good to go. Deploy the web-app from your script on Google Drive.
Make changes locally (in IntelliJ for example), do "clasp push", and refresh the deployed app script page to see the change.
Do git commit, push, and create pull requests through Github when you have a feature or fix to contribute.