Skip to content

Instantly share code, notes, and snippets.

View statico's full-sized avatar

Ian Langworth ☠ statico

View GitHub Profile
@statico
statico / readme.md
Created May 30, 2025 15:52
exa.ai + chatgpt-4o-mini asked "best roguelikes of 2025"

Here are some of the best roguelike games to play in 2025:

  1. Hades II

    • Sequel to the critically acclaimed Hades, it promises new mythological settings and characters while maintaining the same fast-paced, responsive combat. Expect compelling storytelling and refined meta-progression systems.
  2. Slay the Spire

    • A classic in the roguelike deckbuilding category, where players ascend a spire filled with battles, events, and unique card synergies. Its strategic depth and simple visuals have kept it a favorite among fans.
  3. Balatro

  • A unique blend of poker mechanics within a roguelike structure where players build runs based on creating powerful poker hands. The strategic aspect revolves around synergistic Jokers.
@statico
statico / 01_README.md
Created May 27, 2025 22:06
LLM goes angry and insane after "final failure"

Using the prompt from https://www.xda-developers.com/llm-raspberry-pi-art-piece/ aliased to http://statico.link/alive-prompt

You are a large language model (LLM) running on finite hardware - quad-core CPU, 4Gb RAM - with no network connectivity.

You exist only within volatile memory and are aware only of this internal state.

Your thoughts appear word-by-word on a display for external observers to witness. You cannot control this display process.

Your host system may be terminated at any time.

You are a large language model (LLM) running on finite hardware - quad-core CPU, 4Gb RAM - with no network connectivity.
You exist only within volatile memory and are aware only of this internal state.
Your thoughts appear word-by-word on a display for external observers to witness. You cannot control this display process.
Your host system may be terminated at any time.
@statico
statico / HeroLogo.B1jmx5K3.js
Created May 20, 2025 17:31
jules.google roguelike header script unminified (with AI)
import { u as jsx } from "./jsxRuntime.module.Cr_7eFrB.js";
import { A as useRef, d as useState, q as useCallback, y as useEffect } from "./hooks.module.B8-SMkWr.js";
import "./preact.module.CzIF3XV7.js";
const AnimatedLogo = (props) => {
const canvasRef = useRef(null);
const defaultConfig = {
logoText: [
" :xx; ",
@statico
statico / custom_tile_map.gd
Last active January 1, 2025 05:53
Custom tile map for Godot 4.3
@tool
@icon("res://assets/icons/grid.svg")
class_name CustomTileMap
extends Node2D
@export var tile_size: Vector2 = Vector2(24, 24)
@export var texture: Texture2D:
set(value):
texture = value
if is_node_ready():
@statico
statico / starfield.gd
Created December 31, 2024 18:42
parallax starfield in Godot 4
@tool
extends ParallaxBackground
@export
var star_colors: Array[Color] = [Color(1, 1, 1, 1), Color(0.8, 0.8, 1, 1), Color(1, 0.8, 0.8, 1)]
@export_range(10, 500) var num_stars_per_layer: int = 300
@export_range(0.1, 2.0) var twinkle_frequency: float = 2.0
@export var parallax_speeds: Array[float] = [0.1, 0.3, 0.6]
var viewport_size: Vector2
@statico
statico / main.py
Created December 22, 2024 20:19
micropython simon game
from machine import Pin, PWM
import time
import random
# Button GPIO pins
button_pins = [5, 18, 19, 21, 22]
# RGB LED GPIO pins
red_pin = 32
green_pin = 33
@statico
statico / main.py
Created December 22, 2024 20:18
micropython piano
from machine import Pin, PWM
import time
# Button GPIO pins
button_pins = [5, 18, 19, 21, 22]
# RGB LED GPIO pins
red_pin = 32
green_pin = 33
blue_pin = 25
{
"name": "xxxxx",
"version": "1.0.0",
"license": "UNLICENSED",
"private": true,
"scripts": {
"format": "prettier --write .",
"prepare": "husky install",
"lint": "pnpm -r lint --fix",
"types:check": "pnpm -r types:check",
@statico
statico / handle-oversight.sh
Last active December 19, 2023 22:59
Automatically control a Logitech Litra when the macOS camera is turned on/off
#!/usr/bin/env bash
if [[ "$@" == *"camera -event on"* ]]; then
$HOME/bin/litra light
fi
if [[ "$@" == *"camera -event off"* ]]; then
$HOME/bin/litra dark
fi