Skip to main content

Recently Updated Pages

Download PDFs here!

Downloadable summary PDFs

Pure 1.pdf Stat 1.pdf Mech 1.pdf

Updated 1 month ago by Samuel Lee

Version 2

Fun Practicals [Python] Chess

Requires: pip install pygame brew install stockfish Code: """ Chess Game — Lichess-style UI ...

Updated 2 months ago by Samuel Lee

Version 1

Fun Practicals [Python] Chess

Requires:- Pygame- Stockfish 18 Which can be downloaded by running: pip install pygame brew in...

Updated 2 months ago by Samuel Lee

Battle Sample

Fun Practicals [HTML] Simulation RPG Combat Sample

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> *{box-sizing:border-b...

Updated 2 months ago by Samuel Lee

[Python] Important Algorithms

[Concepts] Paper 4

Factorial function def factorial(n): #Task 1: Factorial function if n==0: #Case 1: 0!...

Updated 2 months ago by Samuel Lee

main.py

Fun Practicals [Python] Connect 4

board=[[' ']*7, [' ']*7, [' ']*7, [' ']*7, [' ']*7, [' ']...

Updated 2 months ago by Samuel Lee

account.json

Fun Practicals [Python] Bank Account Simulator

{"balance": 1038.0, "transactions": [{"transaction_id": "0000000001", "type": "deposit", "amount"...

Updated 2 months ago by Samuel Lee

main.py

Fun Practicals [Python] Bank Account Simulator

import json import datetime # load account if exists def load_account(): try: ...

Updated 2 months ago by Samuel Lee

Biased Roulette

Fun Practicals [HTML] DIY Roulette

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" conten...

Updated 2 months ago by Samuel Lee

Fair Roulette

Fun Practicals [HTML] DIY Roulette

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" conten...

Updated 2 months ago by Samuel Lee

skills_db.py

Fun Practicals [Python] Turn-Based Battle Game

"""Skills database with 100 skills across all job classes.""" from data_types import * def ...

Updated 2 months ago by Samuel Lee

monster_unit.py & monsters_db.py

Fun Practicals [Python] Turn-Based Battle Game

monster_unit.py """Monster combat unit - wraps MonsterTemplate with battle state.""" from __fut...

Updated 2 months ago by Samuel Lee

items_db.py

Fun Practicals [Python] Turn-Based Battle Game

"""Items database with 120 items.""" from data_types import * def build_item_database() -> Di...

Updated 2 months ago by Samuel Lee

game_state.py

Fun Practicals [Python] Turn-Based Battle Game

"""Game state: manages party, inventory, battle progression.""" from __future__ import annotatio...

Updated 2 months ago by Samuel Lee

data_types.py

Fun Practicals [Python] Turn-Based Battle Game

"""Core data types, enums, and constants for the JRPG game.""" from __future__ import annotation...

Updated 2 months ago by Samuel Lee

companions.py

Fun Practicals [Python] Turn-Based Battle Game

"""Companion character database: 20x3★, 10x4★, 5x5★.""" from __future__ import annotations impo...

Updated 2 months ago by Samuel Lee

character.py

Fun Practicals [Python] Turn-Based Battle Game

"""Character class - handles stats, leveling, skills, status effects.""" from __future__ import ...

Updated 2 months ago by Samuel Lee

battle.py

Fun Practicals [Python] Turn-Based Battle Game

"""Battle engine: handles all combat calculations and the battle loop.""" from __future__ import...

Updated 2 months ago by Samuel Lee

main.py

Fun Practicals [Python] Turn-Based Battle Game

"""Main game entry point: title screen, character creation, game loop.""" import sys import os ...

Updated 2 months ago by Samuel Lee

CHAPTER 1: INFORMATION REPRESENTATION

[Concepts] Paper 1

1.1 DATA REPRESENTATION 1.1.1 Fundamental Characteristics of Number Systems Every number system...

Updated 2 months ago by Samuel Lee