From c32244676379c7f23429446c574f19832518226e Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 9 Aug 2023 02:40:25 +0100 Subject: Initial commit --- README.md | 6 +++ font.woff | Bin 0 -> 16288 bytes index.php | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 152 insertions(+) create mode 100644 README.md create mode 100644 font.woff create mode 100644 index.php diff --git a/README.md b/README.md new file mode 100644 index 0000000..e0e9353 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# cell grid + +small proof-of-concept site written in php with the goal to use no user-side scripting + +click on a cell on the grid and select a color for a collaborative pixel canvas + diff --git a/font.woff b/font.woff new file mode 100644 index 0000000..cc97383 Binary files /dev/null and b/font.woff differ diff --git a/index.php b/index.php new file mode 100644 index 0000000..0f844e9 --- /dev/null +++ b/index.php @@ -0,0 +1,146 @@ + + + + + + + + cellgrid + + + + + + +
+ +
+ + "); + for($y = 0; $y < $GRID_SIZE; ++$y) { + $id = "$x,$y"; + $color = $grid[$x][$y]; + echo ""; + } + echo(""); + } + ?> +
"; + echo ""; + echo ""; + echo ""; + echo ""; + echo "
+
+ +
+ Select Color: +
+ + +
+
+ + -- cgit v1.2.1