ncase / trust

An interactive guide to the game theory of cooperation
Creative Commons Zero v1.0 Universal
5.71k stars 915 forks source link

Code Overview #123

Open Kaapeine opened 2 years ago

Kaapeine commented 2 years ago

Hi, can anybody who's read the whole source code help me understand the underlying structure of the game? I've followed it up to a point and I know that each "level" is a slide. But I'm having trouble understanding what exactly is going on in each slide. How is each slide actually being sent to the canvas for rendering? I'm new to JS, pixiJS and making games in general, so any pointers would be really appreciated :D