Timeline for Simplistic Lava Lamp
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 14, 2018 at 6:26 | comment | added | Edwin | totally correct about the ifelse. Removed its else counterpart earlier in the process. Link gave some inspiration too! | |
Sep 14, 2018 at 6:23 | history | edited | Edwin | CC BY-SA 4.0 |
calc error
|
Sep 13, 2018 at 22:06 | history | edited | Edwin | CC BY-SA 4.0 |
Fixed lenghty stuff
|
Sep 13, 2018 at 20:04 | comment | added | Kevin Cruijssen |
Hi, welcome to PPCG! Great first answer! I did some basic testing, and everything seems to work great. I know barely anything about Powershell, but is it possible to change else{if($t-ne 1e3){Get-Random(1000-$t)}} to elseif($t-ne 1e3){Get-Random(1000-$t)} ? I see you've used an elseif earlier in your code, so this should save you 2 bytes. Also, maybe Tips for golfing in Powershell or Tips for golfing in <all languages> might give some inspiration for more? Enjoy your stay! :)
|
|
Sep 13, 2018 at 20:00 | review | First posts | |||
Sep 13, 2018 at 20:09 | |||||
Sep 13, 2018 at 19:56 | history | answered | Edwin | CC BY-SA 4.0 |