I thought I got all of the division by zero errors, but it seems I missed one. I'll push an update, thanks for letting me know!

## jfo-ucdavis

3

Posts

A member registered Nov 22, 2021 · View creator page →

### Creator of

A Hardcore Math-Edutainment Roguelike where you play as a processor of a massive AI.

Educational

Play in browser

A short simulator where you play as a mobile game company CEO and add ethically corrupt mechanics/practices for profit.

Interactive Fiction

Play in browser

### Recent community posts

Thanks for the feedback, and I'm glad you liked the game! Believe it or not, there was a full polynomial integral solver equation in the code, although there is a chance you'll get lucky and just deal with x^0 or x=0 to x=0. I tried to simplify it to an equation so it could easily scale with increasingly complex arguments. In code, it's actually written as

correctAnswer = str( int(floor( argumentOne * (pow(argumentThree, argumentTwo + 1) / (argumentTwo + 1.0) + argumentFour * argumentThree ) )))

Where argument one is the variable coefficient (ex. 4x), argument two is the exponent (ex. x^3), argument three is where the integral ends (as in x=0 to x=argumentThree) and argument four is the constant in the end-game (ex. integral of x + 4).