MIT 6.00 virus sim
An implementation of the
problem set 12 of the MIT course 6.00
Introduction to computer science and programming using the Nextjs framework.
Virus Sim is built using TypeScript and relies on functional programming priciples
like closures for information hiding, pure functions and immutable data structures.
This approach leads to a more maintainable code base and less mental overload
compared to an object oriented approach that uses shared mutable state.
I made use of the ramda library for its map and mapAccum
functions, recharts for data visualisation and
react-query to manage server state.
All the heavy computations are done on the server via Nextjs serverless functions.