2025-07-27 23:08:50 +03:00
a
2025-07-27 23:06:32 +03:00
2025-07-27 22:47:35 +03:00
2025-07-25 17:27:37 -10:00
2025-07-25 18:35:58 +03:00
2025-07-25 18:35:58 +03:00
2025-07-26 21:45:31 +03:00
a
2025-07-27 23:08:50 +03:00

CPU vs AI

CPU vs AI

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!

TODO: insert image here

TODO: insert video link here

Installation

TODO: add wasm build?

Clone the repository

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

Install zig release version 0.14 and run:

zig build run

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

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!

Credits

  • Code
    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 https://freesound.org.

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

Description
Boot.dev hackathon 2025
Readme 20 MiB
Languages
Zig 98.6%
Nix 1.4%