Beginners Interactive NetLogo Dictionary
Farsi / Persian
NetLogo User Community Models
## Brianna Tieu, Samson Wu (Period 4)
## WHAT IS IT?
The model is a recreation of the game Agar.io, in the language of Netlogo. The ultimate goal is to grow your cell as big as possible by eating other cells, which you can only do if you are bigger than the other cell.
## HOW IT WORKS
Our overall design plan was to build the world by adding elements of the simulation one and by one, which was how we put together the program. We first envisioned what we wanted our world to look like and then implemented this into the setup button. The setup button consists of the world design, bot placement (bots represent other players), and pellet placement (pellets represent food/non-moving cells). From here, we coded the interactive features of the model, like the moving bots. These bots are designed to go after the closest turtle, to recreate the multiplayer experience. Some interesting coding parts would be the implementation of the user message and the unique mouse control. Overall, there are no major changes from our prototype to our model.
## HOW TO USE IT
To start the model, click the setup button. Once you hit the setup button, hit the start button to begin playing the game. Once you have hit the start button, you can control the turtle centered at the origin of the world, labelled "you". From here, try to eat the smaller cells to gain size to become the largest cell in the world! You can view your score on the monitor labelled "cell size". You can also alter the difficulty by changing the slider other_players. The higher slider other_players is, the more difficult the game becomes.
Once you get the "Game Over!" message, hit "OK" and "setup" to play again!
## CREDITS AND REFERENCES
(back to the NetLogo User Community Models)