Skip to content

The-Memory-Managers/cpu-vs-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The AI chip on your motherboard lost control! the code it's generating is full of bugs!
Place and upgrade your CPUs to destroy these bugs!
Don't let the bugs get across the PCIE lanes and corrupt your RAM!

screenshot

Watch a video playthrough: youtu.be/_clLDGNlef0

Installation

Clone the repository:

git clone https://github.com/The-Memory-Managers/cpu-vs-ai
cd cpu-vs-ai

Install zig release version 0.14 from https://ziglang.org/download/

Then run:

zig build run

If you are on NixOS, run nix develop and then inside it run zig build run

Contact us if you have issues building the game, we will try to help you out.

How to play

Left click to place a CPU where a socket is available.

CPUs get upgraded based on how many bugs they destroyed.

An upgraded CPU will show a popup:

  • Left click to upgrade bus width (more damage)
  • Right click to upgrade cache size (further range)

The amount of CPU cores determine how many bugs it can attack in parallel.

Tips if you struggle beating a level (spoiler)

  • Try positioning your CPUs differently, where they can control the most lanes
  • Try experimenting with different bus widths and cache sizes
  • If you still can't beat a level, you can skip it by pressing the "s" key

There is an easteregg, let us know if you found it!

Hackathon

We managed to get this game into a MVP state 17 hours before the deadline.
Repository state at time of submission: here

In case you like what you see, don't forget to hit that ⭐ Button!

Credits

  • Code (src/*)
    Copyright (c) 2025 Kyren223, Nuclear Pasta, and GottZ. All rights reserved.

  • Art (assets/img/*)
    Copyright (c) 2025 Kyren223. All rights reserved.

  • Audio (assets/sfx/*)
    Sound effects and music are public domain, sourced from freesound.org.

  • Fonts (assets/font/*)
    Fonts are sourced from nerdfonts.com.

  • raylib-zig
    MIT License, Copyright (c) 2020 Nikolas Wipper

  • raylib
    Zlib License, Copyright (c) 2013-2025 Ramon Santamaria (@raysan5)

About

Boot.dev hackathon 2025

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •