about summary refs log tree commit diff stats
path: root/README.txt
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-06-05 21:33:45 -0400
committerCharadon <dev@iotib.net>2022-06-05 21:33:45 -0400
commitbdf56a92b13188901ebee287f5a505558952c8af (patch)
tree8715fb06cd486e278f74678cac1328735993abfb /README.txt
parent7af1c3fa647ccf0fa9b48098a3ef0fc4b3a3e610 (diff)
downloadPong-C-bdf56a92b13188901ebee287f5a505558952c8af.tar.gz
Create actual README
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt43
1 files changed, 42 insertions, 1 deletions
diff --git a/README.txt b/README.txt
index 8b13789..18251a0 100644
--- a/README.txt
+++ b/README.txt
@@ -1 +1,42 @@
-
+Pong by Charadon
+===============================================================================
+Description:
+This is a pong clone made in C using raylib as the main back bone of the code.
+My goal with this project is:
+    1. Support as many platforms as possible. At the current time these are:
+        - Linux
+        - NetBSD
+        - FreeBSD
+        - Windows
+       The following platforms are planned with the reasons why they aren't yet:
+        - OpenBSD (Lack of c11 threads)
+        - Mac OSX (Need a virtual machine.)
+        - Haiku (Could work in theory, need to add a compile time option to
+                 disable audio.)
+        - Hurd (I'll fuckin do it for the memes, mark my words...)
+        - OpenIndiana (Same issue as Haiku)
+    2. Make a fun, simple game. 
+    3. Improve my coding skills. If you have any
+       criticism of my code, go ahead and leave an issue! Pointing out mistakes
+       is the only way I can learn.
+===============================================================================
+Build:
+    Linux:
+        The intended way for linux is to build it into a flatpak. Here are the
+        steps:
+            1. Install premake5
+            2. Run: `premake5 --prefix=/app --flatpak=true gmake2`
+            3. Run: `flatpak-builder --repo=flatpak_repo --user --install --force-clean build-dir net.iotib.Pong.yml`
+            4. Run: `flatpak build-bundle flatpak_repo net.iotib.Pong.flatpak net.iotib.Pong <version>`
+            5. You should now be able to distribute it.
+    Unix/BSD:
+        If you decide to not use a flatpak on Linux, or you are using a BSD.
+        Here are the steps:
+            1. Install premake5
+            2. Run: `premake5 --prefix=/dir/to/prefix gmake2`
+            3. Run: `make -j$(nproc)`
+            4. Run: `premake5 install`
+            5. Go to your prefix, and you should see a Pong folder. Just run the launch.sh and you should be good to go.
+    Windows:
+        PLACEHOLDER
+===============================================================================