A web based random MTG card game interface
Go to file
2026-07-30 18:19:10 -04:00
ajax Add ability to track played status of cards 2026-07-30 18:19:10 -04:00
audio Initial commit 2026-07-29 19:51:07 -04:00
core Initial commit 2026-07-29 19:51:07 -04:00
css Initial commit 2026-07-29 19:51:07 -04:00
images Add README in images folder 2026-07-29 19:51:45 -04:00
img Initial commit 2026-07-29 19:51:07 -04:00
install Add ability to track played status of cards 2026-07-30 18:19:10 -04:00
js Add ability to track played status of cards 2026-07-30 18:19:10 -04:00
.gitignore Initial commit 2026-07-29 19:51:07 -04:00
.htaccess Initial commit 2026-07-29 19:51:07 -04:00
class_image.php Add ability to track played status of cards 2026-07-30 18:19:10 -04:00
config-dist.php Initial commit 2026-07-29 19:51:07 -04:00
functions.php Initial commit 2026-07-29 19:51:07 -04:00
header.php Initial commit 2026-07-29 19:51:07 -04:00
htmlfooter.php Initial commit 2026-07-29 19:51:07 -04:00
htmlheader.php Initial commit 2026-07-29 19:51:07 -04:00
index.php Initial commit 2026-07-29 19:51:07 -04:00
LICENSE.md Initial commit 2026-07-29 19:51:07 -04:00
login.php Initial commit 2026-07-29 19:51:07 -04:00
logout.php Initial commit 2026-07-29 19:51:07 -04:00
manage.php Initial commit 2026-07-29 19:51:07 -04:00
manifest.json Initial commit 2026-07-29 19:51:07 -04:00
README.md Initial commit 2026-07-29 19:51:07 -04:00
startsession.php Initial commit 2026-07-29 19:51:07 -04:00
thumb.php Initial commit 2026-07-29 19:51:07 -04:00

MTG Random Interface

This small project provides a web based tool for running a bespoke randomized MTG card game.

This project requires

  • PHP ImageMagick

Don't forget to:

  • Create a MySQL/MariaDB database for the app with privileges granted to a user
    • create database mtgrandom
    • create user 'mtgrandom'@'localhost' identified by 'password'
    • grant all privileges on mtgrandom.* to 'mtgrandom'@'localhost'
  • Import the install/initial_db_mysql.sql database structure
    • mysql --host=localhost --user=mtgrandom -p mtgrandom < install/initial_db_mysql.sql
  • Change the ownership of the images/ folder to the web server user
    • chown :www-data images
    • chmod g+ws images
  • Copy the config-dist.php file to config.php and edit that file appropriately

Usage Instructions

Should go here :)