Memory Mayhem by ZuhairGhias

[raw]
made by ZuhairGhias for LD 42 (JAM)

MemoryMayhemTitle.PNG MemoryMayhemCapture.PNG

In Memory Mayhem, you play as a tiny robot who is frantically working inside your computer’s processor to clear up your cache. As more and more data is dumped into the cache, you must work quickly to process the data and reduce memory leaks. Compute the target numbers to score points and clear up space.

Instructions for peasants(JKJK):

  1. WASD to move
  2. Space to pick up and drop blocks from the highlighted tile
  3. Combine any 2 numbers to get 1 block equal to their sum
  4. Computer the target number to make the block disappear
  5. Numbers greater than 8 cannot be added
  6. Don't get crushed by falling blocks

Intructions for computer science/engineering people:

  1. Use good data structures
  2. Make use of spatial and temporal locality
  3. Avoid integer overflow
  4. Avoid memory leaks

Ludum Dare Journal:

For this Ludum Dare I really wanted to adhere closely to the theme. When I think of "running out of space", claustrophobia is the first thing that comes to mind. I didn't want to interpret the idea simply as "playable area in the game decreases". For that reason I spent a lot of time just thinking about the topic and what would be fun.

I dismissed a lot of ideas that were good, but seemed to typical. I also tried to avoid playing with the words "running" and "space" so as to not dodge the topic. This came to this idea over many iterations and I really like it because it truly felt like a race against space(and time)

Despite my planning, my team decided to roll with another idea, and so we worked on that for 2 days. However we eventually felt that this new idea might not play out as we were imagining it and so my team lost motivation and eventually dropped out of Ludum Dare altogether. I still felt that I shouldn't waste the opportunity. I had been waiting for Ludum Dare 42 for quite a while, and had dismissed myself from a lot of my responsibilities to make time for the event.

So with a little more than 1 day left, I un-shelved my original idea. I wasn't worried too much about the scripting of the game, since I am a decent programmer. However, since I no longer had a team, I was worried about the art and polish that I had imagined for the game, and I am by no any means an artist. I could not find any suitable(and free) art for my game, so I had to learn to make pixel art in that same day. After reworking the art a few times, I finally had something half decent. All the audio is borrowed.

I am fairly happy with the end result. While my original idea was much more ambitious, and involved a few more mechanics, I think I was able to deliver on the look and feel of my brainchild.

This idea takes inspiration from computer engineering principles and the way processors and caches work. I hope this game comes across as unique and that you enjoy playing it.

Thanks for playing!

Update: -Attempted to fix the controls and movement. -Rescaled spawn rate to adjust difficulty and increase playability.

Ratings

Overall 374th 3.587⭐ 54🧑‍⚖️
Fun 324th 3.51⭐ 54🧑‍⚖️
Innovation 198th 3.637⭐ 53🧑‍⚖️
Theme 69th 4.176⭐ 53🧑‍⚖️
Graphics 650th 3.365⭐ 50🧑‍⚖️
Humor 387th 2.979⭐ 49🧑‍⚖️
Mood 336th 3.413⭐ 48🧑‍⚖️
Given 49🗳️ 43🗨️

Feedback

wujood
15. Aug 2018 · 17:57 UTC
Nice mechanics! Good job! Maybe add some sort off grid based movement to make navigating more easy
🎤 ZuhairGhias
15. Aug 2018 · 19:48 UTC
@wujood Thanks for the feedback. Grid based movement is definitely something I was strongly considering towards the end, but didn't have the time to implement.
Cercle
15. Aug 2018 · 21:37 UTC
Enjoyable! The hazard of blocks falling on you is a nice touch. Makes for quick thinking!
NDHR Productions
16. Aug 2018 · 04:03 UTC
Wow that was a little harder than I was expecting. A blast for sure though!
Angela K.
16. Aug 2018 · 08:27 UTC
Math is fun! Good job! I played many rounds as I got better at the controls in attempt to better myself and by my 10th round I was up to 5 blocks of 16. Good times!
triplefox
16. Aug 2018 · 09:19 UTC
I'm glad you stuck it out and did this, having a character in there is a great sort of rethinking of a "Threes" or "2048" type of game and could be further refined by testing it with the whole array of "block-moving mechanics" - pushing, swapping, etc. The "can't add numbers greater than 8" aspect was a little bit un-intuitive but not unreasonable. And I noticed that while WASD worked fine, arrow key movement had some weird issue where one axis worked and the other didn't.

Regarding grid movement, the compo game I made also faces the never-quite-resolved problem of mixing free movement with a grid. I've worked with this problem before and the way I dealt with it this time was to gradually interpolate to a snapped position as you move around so that everything visually lines up, just not instantly. However, there is still some unresolved stuff with how my camera works that affects how the movement feels.
🎤 ZuhairGhias
16. Aug 2018 · 09:47 UTC
@triplefox Loving the feedback. If you get a chance can you explain how the "can't add umbers greater than 8" mechanic was un-intuitive? I agree to an extent, but not sure by what you mean exactly. I feel maybe if there was feedback, people who didn't realize this rule would then get it. Did you mean the same thing or something else?

Again, thanks!

Edit: Actually I maybe get what you are saying, but feel free to explain anyways.
triplefox
16. Aug 2018 · 09:59 UTC
@zuhairghias It's that if I think about it as something like "oh, it's an 3-bit ALU register and I can only address up to 8" it totally makes sense. But at the same time that's something super nerdy and specific to computer engineering, and not really suggested by other parts of the game. Like, if it were the case that the numbers overflowed to 1 if you added past 8, then it would all come together nicely and anyone could learn the game.

My modus operandi for game designs is conceptual coherence - if you can get all the themes, scenario elements and mechanics to be deeply related to each other then the game is usually tighter, more satisfying, easier to make and easier to explain.
🎤 ZuhairGhias
16. Aug 2018 · 10:09 UTC
@triplefox Honestly the main reason I picked 8 as the largest was because then the number of sums you can make are limited. It was 10 during the development stages. Also I mentioned in the tutorial that blocks bigger than 8 cannot be added. I feel actual overflow would be an even more nerdier mechanic. I do understand your point however. Maybe I could've added a mechanic where larger numbers take longer to compute or something.

Thanks!
GeroX
16. Aug 2018 · 18:45 UTC
Fun game, but after a while It took me a while to find where you combined blocks, the black spaces where you combined looked like a wall to me.
GeroX
16. Aug 2018 · 18:45 UTC
Fun game, but after a while It took me a while to find where you combined blocks, the black spaces where you combined looked like a wall to me.
GeroX
16. Aug 2018 · 18:45 UTC
I am sorry that I send it twice, I did not mean to.
🎤 ZuhairGhias
16. Aug 2018 · 19:15 UTC
@gerox No worries, the site is a little weird right now. Also, yes I redid lot's of the art but I couldn't redo the floor tiles and character, which I think are in dire need of just that.
dragongino
16. Aug 2018 · 19:49 UTC
I find this a good way to learn math. The one thing you should chack a little is the robot the movemt make him sometimes sit stuck somewhere.
🎤 ZuhairGhias
16. Aug 2018 · 20:28 UTC
@dragongino Yes that is an issue, will try to fix it soon
shimage2
18. Aug 2018 · 00:25 UTC
I really enjoyed it! Very good concept conforming to the theme. There are a lot of things to think, putting small number blocks on the top, securing the paths to blocks. Graphics are also cute. Great works Overall!
troligtvis
18. Aug 2018 · 00:27 UTC
Was a bit hard but very nice concept. As other people mentions the box colliders were a bit annoying because you get stuck a lot when you try to move fast !
Otherwise good job! :))
Raccoon_JS
18. Aug 2018 · 00:34 UTC
It was challenging.
HYPRGLOO
20. Aug 2018 · 08:42 UTC
This game ended up being much more difficult than I expected, I had a hard time getting more than 7 points! The slow movement speed of the player character definitely added to the difficulty. The music was also on point, so great job overall!
DevEmil
20. Aug 2018 · 14:57 UTC
Great game, you can be especially proud of yourself for finishing within only one day!
I like the graphics and the sound, the only thing, that the game is missing, would be a gradual increase of difficulty, so it won't be something endless! But otherwise a very good entry!
🎤 ZuhairGhias
20. Aug 2018 · 15:10 UTC
@devemil Yup, lots of people are saying it's hard but it can become too easy once you know how to deal with the numbers.
Stefan Jovanovic
20. Aug 2018 · 17:03 UTC
Great and challenging game! Keep up the good work! :smiley:
Inworks
20. Aug 2018 · 17:23 UTC
Nice and orginal game!
EdwinGameDev
20. Aug 2018 · 17:34 UTC
Fun game, as i learned how to play, it became addictive. Good job, it was very fun to train my math skills! :heart:
Ely Shaffir
20. Aug 2018 · 17:43 UTC
Loved the game!! Such a cool use of the theme!
Siridakis
20. Aug 2018 · 17:48 UTC
Really fun game! Now I'll always think of accumulators as tiny bots with little arms managing my data lol
A great entry, congratulations!
m2u-84
20. Aug 2018 · 20:52 UTC
Nice take on the topic. Enjoyed the overall gameplay. Good luck!
Ryfi
21. Aug 2018 · 01:36 UTC
It's frustrating sometimes but fun.
deathray
21. Aug 2018 · 03:24 UTC
That was pretty innovative and a great use of the theme. Like others said, it was a bit too fast for me. Would be nice if it started out slower before increasing to that speed. But really well done. Blue screen of death was a nice touch too.
SleeplessDev
21. Aug 2018 · 04:33 UTC
The movement was a bit buggy which was a bit annoying but, this idea was very creative and I liked it nice job!
Erendis
21. Aug 2018 · 08:49 UTC
nice work !
🎤 ZuhairGhias
21. Aug 2018 · 12:41 UTC
@sleeplessdev Really? I thought I patched that. Oh well.
Marcenat
21. Aug 2018 · 13:05 UTC
Hurrah a game about cache and processor, I was looking for it (the heme made me think about that so I was sure someone did it) but did not expect such a clever mechanic. This is by far the most innovative and well design mechanic I've seen in this LD. It's fun to play until the end, I was blaming myself when I did integer overflow :)
So from a design perspective it's great, such a shame your team did not follow you on this one, the result would have been incredible.
The only complaint I could make is that the difficulty does not seems to increase over time (or very slowly ?), this could help to keep the player in the flow.
Graphics get the job done, audio too.
Great job!

(Also that game over sound got me, it is just perfect)
🎤 ZuhairGhias
21. Aug 2018 · 13:26 UTC
@troligtvis @raccoon-js @hyprgloo @devemil @ryfi @deathray @marcenat

I updated the spawn rate so it gradually gets faster, but not past a certain limit. Hopefully this makes the game more playable. Please do try it out!
konsumopfer77
21. Aug 2018 · 15:11 UTC
love the death-sound!
Jack Lance
21. Aug 2018 · 16:26 UTC
I really loved it! I managed to get a score of 22.
I like the combo of a game like this in first person, and it fit the theme perfectly.
CristiHKJ
21. Aug 2018 · 17:19 UTC
Great game! Very cool and interesting! :D
Pete
21. Aug 2018 · 20:11 UTC
I liked it, but I think it world be more fun if you had higher movement speed and scaling the spawn rate (as you already does). There is a lot of "semi-down time". Overall a fine small game with very fitting music for the type of game. The art-style is also both fitting and coherent.
Maksime
21. Aug 2018 · 20:46 UTC
Loved the mechanics !

Stupid me didn't read the instructions correctly so during my first playthrough I thought I wsa supposed to make as much 8 block as possible... xD

One thing though, if the number spawn is really random, you should consider tweaking it, I had to deliver compute a 5 but couldn't get any block below 4 or 5 for a certain amount of time, takes up quite a bit of space rapidly :slight_frown:

Overall it's a very nice and unique game, well done !
Rahim_Pxr
27. Aug 2018 · 01:10 UTC
Nice game, I hope to see more updates and improvments sooner.
If you don't bother take a look at our game when we focused on Graphics and visuals and see the results that we got:
https://ldjam.com/events/ludum-dare/42/spacelab-42