SerenityOS / serenity

The Serenity Operating System 🐞
https://serenityos.org
BSD 2-Clause "Simplified" License
30.6k stars 3.19k forks source link

2048 game: Draws out of bounds #3336

Open BenWiederhake opened 4 years ago

BenWiederhake commented 4 years ago

The game is so exciting, even the game block can't contain itself! ;)

The game "2048", writing the block score larger than the containing block

I love the "new" colors btw :D

(The font looks awesome. Maybe someone could do something similar for solitaire?)

CC @alimpfard

alimpfard commented 4 years ago

cc @bugaevc - he redid the sizes and stuff

bugaevc commented 4 years ago

Hmm, so perhaps we need to pick a smaller font for individual cells with large (or rather, wide) numbers?

alimpfard commented 4 years ago

or, make the general font just large enough to fit 2048, let it stay like this for extra hilarity whomever gets to a huge number deserves a good laugh afterall lol

this is a joke

BenWiederhake commented 4 years ago

this is a joke

You're joking, but I actually was thinking that it was intentional! Then I resized it and the font size jumped all over the place – and jumping sizes is usually not intentional. :)

BenWiederhake commented 1 year ago

Bildschirmfoto_2023-05-26_20-38-23

(Just in case anyone was wondering whether this still happens.)