
上QQ阅读APP看书,第一时间看更新
Summary
We covered quite a few Monkey basics here and also programmed our first little game, Pongo. So what did we learn about exactly in this chapter?
- We opened Monk, the code editor, and learned how to create a project. This is something you will use very often, later on.
- While we created our first script, we learned how to print messages into the browser during the development of our first game, Pongo.
- We learned how to read input from the keyboard and draw basic shapes, such as circles and rectangles.
- In Pongo, we created a very simple computer AI and used a simple algorithm to check for collisions.
Now you know quite a few things about Monkey. But do yourself a favour; also study the documentation of Monkey, and study the sample scripts in the bananas
folder. They are a fountain of information.
Next stop, next game!