SPLURT-Station / S.P.L.U.R.T-Station-13

Five night at feddy
GNU Affero General Public License v3.0
28 stars 277 forks source link

Fix problem computers #1193

Closed CSDSP closed 1 month ago

CSDSP commented 1 month ago

About The Pull Request

Fixes a couple bugs with Problem Computers. Specifically, rounds the expected answer in easy algebra (it stood out as the only not-rounded problem), and fixes the line intersection problem.

Why It's Good For The Game

Makes the line intersection problem actually work, instead of being unsolvable. This is a pretty major frustration when using problem computers, since you always have to skip them.

A Port?

No

Pre-Merge Checklist

Changelog

:cl: fix: Rounding in Problem Computer easy algebra fix: Expected answer in Problem Computer line intersection refactor: removes duplicated code /:cl: