ams-hackers / gbforth

👾 A Forth-based Game Boy development kit
https://gbforth.org
MIT License
121 stars 23 forks source link

Simplify pile drawing code in Aces Up example. #341

Open hendursaga opened 8 months ago

hendursaga commented 8 months ago

Due to the condition necessarily meaning that pile size is 0, the second line in the ELSE clause does not need the addition operation. The first line is completely unnecessary, as no cards are shown at Y position of 1, ever.