Fitur 22426 - #25
Open
dzakwanmkpp wants to merge 9 commits into
Open
Conversation
implementation all class requirement, feature 1, feature 2
This commit wraps up the major milestone for the CLI Monopoly game: - feat: Dynamic board config parsing from data/property.txt - feat: Pixel-perfect 11x11 hollow square BoardView rendering - feat: Dice logic (LEMPAR_DADU) & manual rigging (ATUR_DADU X Y) - feat: 3x Double consecutive rolls send player to JAIL - feat: Auto-deduct rent enforcement (Tell, Don't Ask principle) - feat: Auto-acquire mechanics for Utility & Railroad properties - feat: Detailed UI Deed rendering (CETAK_AKTA) with responsive padding - feat: Add HELP navigation command - docs: Add comprehensive project README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Deskripsi Singkat
Pull Request ini menyelesaikan implementasi tahap akhir untuk mekanik utama (core mechanics) dan navigasi CLI permainan Nimonspoli. Semua sistem telah dikembangkan dengan mematuhi prinsip Object-Oriented Programming (OOP), khususnya pemanfaatan Polymorphism dan pelestarian asas Tell, Don't Ask untuk menjaga keamanan data entitas.
Fitur & Modifikasi Utama
CETAK_PAPAN).LEMPAR_DADU) dan cheat/rigging manual (ATUR_DADU X Y) untuk kebutuhan testing. Termasuk logika hukuman Penjara jika mendapat dadu kembar (Double) 3 kali beruntun.CETAK_AKTA), didukung string padding/truncation aman agar border CLI tidak rusak.(y/n)untuk jalanan (Street), dan akuisisi otomatis (gratis) untuk Utility/Railroad. Saldo sewa dipotong secara mandiri dan seamless saat mendarat.HELPuntuk melihat daftar perintah.data/property.txt) dan penyusunan panduan compile/run diREADME.md.Verifikasi & Testing
std::stringstreamdan validasi tipe data (kebal dari Crash/Segmentation Fault).