diff --git a/.gitignore b/.gitignore index bdfee0a..3a4b630 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ arise-out/ .obsidian/ +.idea/ diff --git a/arise-source/index.md b/arise-source/index.md index 16f04a6..5b677b4 100644 --- a/arise-source/index.md +++ b/arise-source/index.md @@ -1,7 +1,7 @@ +# Blind Monster Kata +## Constrains +[Mute Ping Pong](https://kata-log.rocks/mute-ping-pong) + +## Rules +Write the core system of game, with the following rules: +- There is a human in a room. +- The room is represented throug a grid of tiles of arbitrary size. +- The human starts in an arbitrary place in the room. +- The human can move anywhere in the room. +- The goal of the human is escaping the room. This is done by reaching the tile adjacent to the door. +- The human makes noise while moving, but is silent if crouches. +- Crouching makes movement 2x slower. If takes one second to move between 2 adjacent tiles, moving while crouching takes 2 seconds. +- The passage of time is represented with a turn-based system. Each turn represents the same amount of time (eg: one sencond) +- There is a monster in the room. The monster is blind, but can hear very well. +- The monster starts at the tile adjacent to the door. +- The monster is searching for the human. Will go to any tile where there is sound, at twice the walking speed the human has. +- If the monster is in an adjacent tile with the human, will hear the heartbeat and localize it immediatly. Doing so will attack and kill the human. diff --git a/arise-source/posts/ci-xml-reserved-characters/kanagawa.jpg b/arise-source/katas/blind-monster-kata/kanagawa.jpg similarity index 100% rename from arise-source/posts/ci-xml-reserved-characters/kanagawa.jpg rename to arise-source/katas/blind-monster-kata/kanagawa.jpg diff --git a/arise-source/katas/conway-kata/index.md b/arise-source/katas/conway-kata/index.md new file mode 100644 index 0000000..87ae6f6 --- /dev/null +++ b/arise-source/katas/conway-kata/index.md @@ -0,0 +1,23 @@ + +# Conway's Kata + +This is an exercise on programming paradigms, implement the rules using as many programming paradigms as you know. Personally I recommend testing OOP and ECS. + +## Rules of Conway's Game of Life + +- A living cell with less than two neighbors: Dies +- A living cell with two or three neighbors: Survives +- A living cell with more than three neighbors: Dies +- A dead cell with exactly three neighbors: Becomes alive \ No newline at end of file diff --git a/arise-source/posts/my-cool-post/kanagawa.jpg b/arise-source/katas/conway-kata/kanagawa.jpg similarity index 100% rename from arise-source/posts/my-cool-post/kanagawa.jpg rename to arise-source/katas/conway-kata/kanagawa.jpg diff --git a/arise-source/posts/index.md b/arise-source/katas/index.md similarity index 67% rename from arise-source/posts/index.md rename to arise-source/katas/index.md index e700ff5..ff242ba 100644 --- a/arise-source/posts/index.md +++ b/arise-source/katas/index.md @@ -1,8 +1,8 @@ - -# Abolish Arasaka - -I saw Saburo Arasaka at a grocery store in Night City yesterday. I told him how cool it was to meet him in person, but I didn’t want to be a douche and bother him and ask him for photos or anything. - -He said, “Oh, like you’re doing now?” - -I was taken aback, and all I could say was “Huh?” but he kept cutting me off and going “huh? huh? huh?” and closing his hand shut in front of my face. I walked away and continued with my shopping, and I heard him chuckle as I walked off. When I came to pay for my stuff up front I saw him trying to walk out the doors with like fifteen Yikes! Tofu bars in his hands without paying. - -The girl at the counter was very nice about it and professional, and was like “Sir, you need to pay for those first.” At first he kept pretending to be tired and not hear her, but eventually turned back around and brought them to the counter. - -When she took one of the bars and started scanning it multiple times, he stopped her and told her to scan them each individually “to prevent any electrical infetterence,” and then turned around and winked at me. I don’t even think that’s a word. After she scanned each bar and put them in a bag and started to say the price, he kept interrupting her by yawning really loudly. diff --git a/arise-source/posts/ci-xml-reserved-characters/index.md b/arise-source/posts/ci-xml-reserved-characters/index.md deleted file mode 100644 index 9c92c99..0000000 --- a/arise-source/posts/ci-xml-reserved-characters/index.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# CI Test Suite - XML Reserved Characters - -This page is part of a test suite to ensure that when a user tries to stick XML reserved characters into page metadata, such characters are properly converted to escape characters. This way we ensure that such characters don't break the monolithic sitemap or RSS feed. - -The way we do this is by having a test page in our template site which contains a post whose title, author, and destripction all contain the XML reserved characters (&<>'"). This test suite verifies that this output page has all of the reserved characters properly sanitised to the escape code versions, so that they're safe to handle within the site's XML sitemap and RSS feed. diff --git a/arise-source/posts/my-cool-post/index.md b/arise-source/posts/my-cool-post/index.md deleted file mode 100644 index a09721c..0000000 --- a/arise-source/posts/my-cool-post/index.md +++ /dev/null @@ -1,19 +0,0 @@ - - -# Look, a cool post - -You can make cool posts on your Arise website! - -You can even use images, look: - -![The Great Wave off Kanagawa](kanagawa.jpg)