Skip to content

Instantly share code, notes, and snippets.

{
"latest_version": "3.11",
"update_message": "Update 3.11 is out! Bug fixes and balancing.",
"update_url": "https://thundermonkeyftw.itch.io/captains-choices"
}
@Palolz1
Palolz1 / gist:a63824ef4621940ad8214b2347afc7b2
Created July 4, 2026 14:17
Game I made called Monstersiege. a 2v1 card game
#!/usr/bin/env python3
"""
MONSTER SIEGE — 2v1 Asymmetric Turn-Based Strategy (SCALING EDITION)
Board : 10 rows × 17 columns
Order (1 player, center) defends vs Monster Team (2 players, left & right)
"""
import tkinter as tk
from tkinter import messagebox
import random, math, threading, time
@Palolz1
Palolz1 / gist:b2de853fb0a87fbf3141d5a25b40a021
Created July 4, 2026 14:18
Kingdom clash. A precursor to monster siege. this is a 1v1 card game.
#!/usr/bin/env python3
"""
KINGDOM CLASH — Polished 1v1 Couch Co-op Turn-Based Card Game (TKINTER EDITION)
Board : 5 rows × 7 columns
Goal : Destroy the enemy Town Center
SCALING: Everything is defined in "native" units (BASE_CELL_SIZE=100px, 1600×1000 window).
self.scale is derived from the actual window size; all pixel values go through
self._s(n) and all font sizes through self._sf(n) so the game stays proportional.
"""
"""
╔══════════════════════════════════════╗
║ J O R B S I M ║
╚══════════════════════════════════════╝
Run: python jorb_game_v5_fixed.py [cell_size]
"""
import pygame
import random
import math