Recently Updated Pages
Download PDFs here!
Pure 1.pdf Stat 1.pdf Mech 1.pdf
Version 2
Requires: pip install pygame brew install stockfish Code: """ Chess Game — Lichess-style UI ...
Version 1
Requires:- Pygame- Stockfish 18 Which can be downloaded by running: pip install pygame brew in...
Battle Sample
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> *{box-sizing:border-b...
[Python] Important Algorithms
Factorial function def factorial(n): #Task 1: Factorial function if n==0: #Case 1: 0!...
main.py
board=[[' ']*7, [' ']*7, [' ']*7, [' ']*7, [' ']*7, [' ']...
account.json
{"balance": 1038.0, "transactions": [{"transaction_id": "0000000001", "type": "deposit", "amount"...
main.py
import json import datetime # load account if exists def load_account(): try: ...
Biased Roulette
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" conten...
Fair Roulette
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" conten...
skills_db.py
"""Skills database with 100 skills across all job classes.""" from data_types import * def ...
monster_unit.py & monsters_db.py
monster_unit.py """Monster combat unit - wraps MonsterTemplate with battle state.""" from __fut...
items_db.py
"""Items database with 120 items.""" from data_types import * def build_item_database() -> Di...
game_state.py
"""Game state: manages party, inventory, battle progression.""" from __future__ import annotatio...
data_types.py
"""Core data types, enums, and constants for the JRPG game.""" from __future__ import annotation...
companions.py
"""Companion character database: 20x3★, 10x4★, 5x5★.""" from __future__ import annotations impo...
character.py
"""Character class - handles stats, leveling, skills, status effects.""" from __future__ import ...
battle.py
"""Battle engine: handles all combat calculations and the battle loop.""" from __future__ import...
main.py
"""Main game entry point: title screen, character creation, game loop.""" import sys import os ...
CHAPTER 1: INFORMATION REPRESENTATION
1.1 DATA REPRESENTATION 1.1.1 Fundamental Characteristics of Number Systems Every number system...