diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bd194ba --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.cake linguist-language=lisp \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..808ddd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,63 @@ +# ---> C++ +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +*.cake.* +cakelisp_cache/ + +bin/ +lib/ + +*.blend1 + +test/100000000PixelShader_ps.glsl +test/100000000VertexShader_vs.glsl +test/100000001PixelShader_ps.glsl +test/100000001VertexShader_vs.glsl +test/100000002PixelShader_ps.glsl +test/100000002VertexShader_vs.glsl + +test/SDLOgreApp +test/out.dat +test/converted.dat +test/Loader + +*.log + +# These should be stored in assets/, then converted by the build system +test/data/Models/*.mesh.xml +test/data/Models/*.skeleton.xml +test/data/Models/*.skeleton +test/data/Materials/Textures/*.dds + +test/data/Models/* \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cdf2342 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Dependencies/gamelib"] + path = Dependencies/gamelib + url = https://macoy.me/code/macoy/gamelib.git diff --git a/Dependencies/gamelib b/Dependencies/gamelib new file mode 160000 index 0000000..af35b04 --- /dev/null +++ b/Dependencies/gamelib @@ -0,0 +1 @@ +Subproject commit af35b040cf8b830575f2240f900ac782de08b048 diff --git a/ReadMe.org b/ReadMe.org index 5453aaf..08de97d 100644 --- a/ReadMe.org +++ b/ReadMe.org @@ -1,6 +1,6 @@ #+title: Kitty Gridlock -This is a project for V. She loves [[https://en.wikipedia.org/wiki/Rush_Hour_(board_game)][Rush Hour]] puzzles. For her birthday, I have a goal to make a Rush Hour player for her Android phone, using my [[https://macoy.me/code/macoy/cakelisp/][Cakelisp]] and [[https://macoy.me/code/macoy/gamelib][Gamelib]] tools. +This is a project for V. She loves [[https://en.wikipedia.org/wiki/Rush_Hour_(board_game)][Rush Hour]] puzzles. For her birthday (April 2021), I have a goal to make a Rush Hour player for her Android phone, using my [[https://macoy.me/code/macoy/cakelisp/][Cakelisp]] and [[https://macoy.me/code/macoy/gamelib][Gamelib]] tools. I am using [[https://www.michaelfogleman.com/rush/][Michael Fogleman's Rush Hour database]] ([[https://web.archive.org/web/20201101044241/https://www.michaelfogleman.com/rush/][archive.org]]) in order to provide her tons of puzzles. @@ -23,3 +23,19 @@ An example board: #+BEGIN_SRC C 60 IBBxooIooLDDJAALooJoKEEMFFKooMGGHHHM 2332 #+END_SRC + +* Target device +V has a OnePlus 6T Android phone with the following specifications (from [[https://www.gsmarena.com/oneplus_6t-9350.php][here]]): + +| Thing | Value | +|--------------------+-----------------------------------------------------------------| +| Display Type | Optic AMOLED | +| Display Size | 6.41 inches, 100.9 cm2 | +| Display Resolution | 1080 x 2340 pixels, 19.5:9 ratio (~402 ppi density) | +| CPU Chipset | Qualcomm SDM845 Snapdragon 845 (10 nm) | +| CPU | Octa-core (4x2.8 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver) | +| GPU | Adreno 630 | +| RAM | 8GB | +| Android Version | 10 | + +The two main specs I need to care about are Android Version and Display Resolution. Otherwise, AMOLED hints that pure black is going to look nice. diff --git a/src/Main.cake b/src/Main.cake new file mode 100644 index 0000000..ff77fb5 --- /dev/null +++ b/src/Main.cake @@ -0,0 +1,5 @@ +(c-import "") + +(defun main (&return int) + (printf "Hello, Kitty Gridlock!\n") + (return 0))