Rename README.md to tu-tien-game #1926
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
⚔️ GAME TU TIÊN ONLINE ⚔️
Tu luyện
<script> let tuvi=0, theluc=0, hp=100, canhgioi=1; function log(t){ document.getElementById("log").innerHTML += t+"Luyện thể
Ma tu
Săn quái
Bí cảnh
Trạng thái
"; } function checkDotPha(){ if(tuvi>=canhgioi*100){ tuvi=0; canhgioi++; log("🔥 ĐỘT PHÁ CẢNH GIỚI: " + canhgioi); } } function tuLuyen(){ let x = Math.floor(Math.random()*20+10); tuvi+=x; log("🌱 Tu luyện +" + x); checkDotPha(); } function luyenThe(){ theluc+=10; hp+=10; log("💪 Luyện thể +10, HP +10"); } function maTu(){ tuvi+=30; hp-=10; log("😈 Ma tu +30 tu vi, -10 HP"); } function sanQuai(){ let dmg = Math.floor(Math.random()*20); hp-=dmg; tuvi+=25; log("🐺 Săn quái: -"+dmg+" HP, +25 tu vi"); if(hp<=0){ hp=100; log("💀 Trọng thương! Hồi sinh"); } } function biCanh(){ let boss = Math.random()<0.5; if(boss){ hp-=40; tuvi+=80; log("👹 BOSS BÍ CẢNH! +80 tu vi"); }else{ tuvi+=40; log("✨ Kỳ ngộ bí cảnh +40 tu vi"); } } function trangThai(){ log("📊 Tu vi:"+tuvi+" | HP:"+hp+" | Luyện thể:"+theluc+" | Cảnh giới:"+canhgioi); } </script>