Skip to content

Instantly share code, notes, and snippets.

@AMCPTP
AMCPTP / styles
Created September 3, 2025 11:43
V18.0 — Smart Meta Adaptive
:root{
--bg:#0f1320; --panel:#161a2b; --text:#e6e8ef; --muted:#9aa3b2;
--accent:#ffd166; --green:#1db954; --red:#e53935; --blue:#1e88e5; --border:#252b45; --pill:#20263f;
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;background:linear-gradient(180deg,#0f1320,#0b0f1a);color:var(--text)}
.app{max-width:980px;margin:28px auto;padding:12px}
.header{text-align:center;margin-bottom:14px}
.header h1{margin:0;font-size:26px}
.tag{font-size:12px;padding:2px 8px;border-radius:999px;background:var(--pill);color:var(--accent);margin-left:8px}
@AMCPTP
AMCPTP / script
Created September 3, 2025 11:40
V18.0 — Smart Meta Adaptive
/* V18.1 — Smart Meta Adaptive (Fixed & Usable) */
/* ---------------- CONFIG ---------------- */
const MIN_CONF_PLAY = 0.66;
/* -------------- STATE ------------------ */
let history = [];
let winCount=0, loseCount=0, totalCount=0;
let lastSymbol = null;
let snapshots = []; // ✅ แก้แล้ว
@AMCPTP
AMCPTP / index
Created September 3, 2025 11:35
V18.0 — Smart Meta Adaptive
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>B/P Advisor — V18.1 Smart Meta Adaptive</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="app">