Hey famjam. Since the theme of this jam is computing the square root each frame, lets talk about some fun, computer-y, math-y, ways to get that square root happenin.
Real talk: we're going to assume we're taking the square root of a positive number.
Using the system library functions
The quick and quick and tried and true stuff.
Unity/C#:
Mathf.Sqrt(490.f);
JavaScript:
Math.sqrt(490);
C and C++
#include <math.h>
#include <cmath> // for C++ sqrt(490.0);
GameMaker Language
sqrt(490);
GLSL
sqrt(490.0);
Emojicode
鉂楋笍 馃毚 鉃★笍 馃敘
Outsourcing the computations to a third party
Quick! Check if the domain is available and apply to Y Combinator!
Other options!
Feel free to respond with your preferred square root-computing method! Make sure a computer will run it each frame!