Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.78 KB

File metadata and controls

53 lines (36 loc) · 1.78 KB

Tic Tac Toe on Google App Engine Standard using Firebase

This directory contains a project that implements a realtime two-player game of Tic Tac Toe on Google App Engine Standard, using the Firebase database for realtime notifications when the board changes.

Prerequisites

  • Install Apache Maven 3.5.0 or later
  • Install the Google Cloud SDK
  • Create a project in the Firebase Console
  • In the Overview section of the Firebase console, click 'Add Firebase to your web app' and replace the contents of the file src/main/webapp/WEB-INF/view/firebase_config.jspf with that code snippet.

Run the sample

  • To run the app locally using the development appserver:
mvn appengine:run

Troubleshooting

  • If you see the error Google Cloud SDK path was not provided ...:
    • Make sure you've installed the Google Cloud SDK
    • Make sure the Google Cloud SDK's bin/ directory is in your PATH. If you prefer it not to be, you can also set the environment variable GOOGLE_CLOUD_SDK_HOME to point to where you installed the SDK:
export GOOGLE_CLOUD_SDK_HOME=/path/to/google-cloud-sdk

Contributing changes

See CONTRIBUTING.md.

Licensing

See LICENSE.