mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 08:46:34 +00:00
avoid exceptions to stay compatible with ESP8266
add limitaion information to readme
This commit is contained in:
parent
69b99abb7d
commit
97e4eec5be
@ -34,7 +34,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (width > 32)
|
if (width > 32)
|
||||||
{
|
{
|
||||||
throw std::invalid_argument("maximal width is 32");
|
this->width = 32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,4 +30,7 @@ It is best to set the background color to black 🖤, the border color to light
|
|||||||
|
|
||||||
## Best results
|
## Best results
|
||||||
|
|
||||||
If the speed is set to be a little bit faster than a good human could play with maximal intelligence and very few mistakes it makes people furious/happy at a party 😉.
|
If the speed is set to be a little bit faster than a good human could play with maximal intelligence and very few mistakes it makes people furious/happy at a party 😉.
|
||||||
|
|
||||||
|
## Limits
|
||||||
|
The game grid is limited to a maximum width of 32 and a maximum height of 255 due to the internal structure of the code.
|
Loading…
x
Reference in New Issue
Block a user