Instantly share code, notes, and snippets.

🐋
And so it goes...

# SirLich SirLich

🐋
And so it goes...
Created February 24, 2024 08:40
Markov Puzzle Solution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 from sympy import * import itertools # Number of matches to play at home, before playing away HOME_MATCHES = 3 # First to this number wins. MATCHES_TO_WIN = 4 # The chances of winning away or home games # HOME_CHANCE = Rational(51/100) # AWAY_CHANCE = Rational(49/100)
Last active January 5, 2024 23:07
PD: Rules

# Prisoner's Dilemma Face Off!

## Introduction

The Prisoner's Dilemma is a game theory thought experiment that involves two rational agents, each of whom can cooperate for mutual benefit or betray their partner ("defect") for individual reward. I will run a tournament, simulating this dilemma.

It's a hopelessly simple game, but I have a twist which should provide some enjoyment!

## Example Bot

Last active May 19, 2024 21:02
SirLich: Tech Goals 2024

# SirLich: Tech Goals 2024

Here are my technology and language goals for 2024. Here are my goals (with reflections) for 2023.

## Continue Using/Learning

• Bevy (goal: Jam quality game)
• Rust (goal: Finish project, or work related)
• C++ (goal: Learn some STL, maybe complete some Leetcode problems)
• Godot (content to make jam games)
Last active December 28, 2023 21:26
SirLich: Tech Goals 2023

# SirLich: Tech Goals 2023

Inspired by Ben Awad, here are my technology and language goals for 2023.

## Continue Using/Learning

• Lua
• LuaRocks
• Language Review (MetaTables, all keywords, etc)
• Godot
Created August 28, 2022 15:35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 """ This little utility allows you to quickly and easily create shaders for Sapiens. It functions by automatically pulling in required dependencies from the game installation folder before compiling, allowing you to keep your project clean. Requires you to download compiler yourself. """
Created August 8, 2022 17:21
Encrypted Text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 / CZ SR WJ + VN PQ UQ TI FG BW DL XW JN EI TH + BM GV + ZS HQ RU + AE GR JL QM + VK AE + HY AF FY ID + QY TY ZS XF + XS NV VI + JF OZ QE BW + YV LD LF + ZC KV EH PJ + TP OB DU ZB RO CX AG WJ QG + IE SX / KJ BV PW + IM TY VT BW FK + OU VP HH BW FN VZ JI + VN YB GM SB + PT YE UD DT + UX UY PQ MU + FV KH + XS LH ZD RE TL XK YP KQ UM IC KW RU HH BW + XD QC + WC MN AR + NQ CT LR RG TK + XB PO VP YC MS / IG WO UM + JU + HW FR JG RK + VH ZQ QK TY DJ QG + FP OZ DC YF + TY MK + UM PW MS AP NY HT + HN HJ + UQ EI EB QZ BG ZU + LV UP MK KM EU WP QX + GL IZ YW QM ED + DS JU KE ID + IE ZU ID / OK FY YM VM ON EM + AS UY GW + IB JP LZ FG JF YV YS YE + XZ AZ GQ YX + FV YD + CZ LJ JO + OF DF RR PZ NM LJ DK LV IQ + OG KH CF GQ VY + EI CN SF + AZ PV NN UL BL HJ + KM NH JH / EQ CU UD OO ZY VY KJ NY UX + YH RH IX GH + RO AI + CJ KV DS + JF YD + JQ KQ MM + BY + CY DK YJ SM IZ ND VS + SX EG XX UD + BY + PK VK FS SB NL JB EZ + WJ NX SB ZZ OQ + BV KT AQ / XX OE SP QV YC TG QK NM + HS UY GW CN + GB AF ZE AI ZU BT KT YI LF + RM KK SZ +
Created August 8, 2022 10:44
Code Review for Reddit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 def recvMessage(): global MAXBYTES global client global connectedServer while True:
Last active June 8, 2024 19:58
Programming Discords

# Programming Discords

This gist contains a sorted list of programming related discord invite links. If you want to say high, this is my current Hangout.