commit 64bbcf76265cdc6e05c03144aa4f03b1bf38faee Author: Ben Harris Date: Thu Aug 19 15:33:12 2021 -0400 init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..831961d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +pinball.db diff --git a/README.md b/README.md new file mode 100644 index 0000000..a63050e --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# nomi pinball + +webapp for pinball tourneys at coinslot + +php + sqlite + + sqlite3 pinball.db < schema.sql diff --git a/coinslotlogo.png b/coinslotlogo.png new file mode 100644 index 0000000..495364c Binary files /dev/null and b/coinslotlogo.png differ diff --git a/creatematch/index.php b/creatematch/index.php new file mode 100644 index 0000000..cfb5d1c --- /dev/null +++ b/creatematch/index.php @@ -0,0 +1,11 @@ + +

start a match

+

back

+
+ + + + + diff --git a/gruvbox.min.css b/gruvbox.min.css new file mode 100644 index 0000000..c2f1fb9 --- /dev/null +++ b/gruvbox.min.css @@ -0,0 +1 @@ +main{-webkit-font-feature-settings:"liga" on,"calt" on;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:'JetBrains Mono','Input Mono',monospace;max-width:38rem;padding:2rem;margin:auto}@media only screen and (max-device-width:736px){main{padding:.2rem}}::selection{background:#9c0018}body{background:#282828;color:#ebdbb2}pre{background-color:#3c3836;padding:1em;border:0}a,a:active,a:visited{color:#e491b6;background-color:#1d2021}h1,h2,h3,h4,h5{margin-bottom:.1rem}blockquote{border-left:1px solid #bdae93;margin:.5em 10px;padding:.5em 10px}footer{align:center}img{max-width:100%} \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..b59991d --- /dev/null +++ b/header.php @@ -0,0 +1,9 @@ + + + + nomi pinball + + + + +
diff --git a/index.php b/index.php new file mode 100644 index 0000000..d949d7d --- /dev/null +++ b/index.php @@ -0,0 +1,31 @@ +query('select * from tables'); +include 'header.php'; +?> +

nomi pinball

+coin slot logo +
+

+ pick a table to play ~ + start a match +

+ +
* keep tables up-to-date
+* table picker
+* track players
+* team picker
+* ifpa integration - their API is currently read-only
+* stream games onto a TV
+* keep track of ranking from each game
+* show ranking table
+* show tournament rankings as we go
+
+ + + + diff --git a/random/index.php b/random/index.php new file mode 100644 index 0000000..962ac24 --- /dev/null +++ b/random/index.php @@ -0,0 +1,13 @@ +query('select name from tables where active = 1 limit 1 offset abs(random()) % max((select count(*) from tables), 1)')->fetchColumn(); +?> +

your random table

+

back

+
+ + + +