Skip to content

A project aiming to bring the classic game to the web natively and self-hostable with almost any provider.

Notifications You must be signed in to change notification settings

davidmvos/tic-tac-toe-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-toe-web

This project aims to bring the classic tic-tac-toe-game to the web plattform. Because the backend is written in PHP, this project can be self-hosted on almost every hosting provider.

Trying it out

You can try the game out by clicking the link on the sidebar (TBD).

Self-Hosting

To self-host your own instance, you need:

  • A MariaDB or MySQL database with read and write acces
  • A hosting provider on which you can install your instace

You'll have to download this project and then upload the backend and frontend to your hosting provider. You'll have to create a PHP file called env.php in the backend/api/ folder and put your database information in it like this:

<?
$server = "your.database-server.com";
$username = "Database_Username";
$password = "Database_Password";
$database = "Database_Name";
?>

The system will automatically create a table as soon as you start your first game.

About

A project aiming to bring the classic game to the web natively and self-hostable with almost any provider.

Resources

Stars

Watchers

Forks