Over the last few meetings we have come a long way with our evolution game. Many have suggested creative ideas on new features we could add and have come up with creative solutions to implementing them. We've all had a lot of fun changing the parameters to see how our creatures behave, from increasing the... Continue Reading →
Today we programmed our creatures to move naturally within the canvas. We came up against a few bugs when we forgot to save certain files however visual Studio has autosave which once enabled, should help us in the future. Check out the code on JSFiddle. You can also follow along with Evolution Tutorial #1.
After eating doughnuts and chocolate, we all successfully managed to all create a canvas where creatures randomly appeared and moved about. In our next meeting we’ll work on giving these creatures natural movement.
In this tutorial, we will create a species of creatures that will randomly move within a canvas searching for food.
As a group we looked at different ways an AI paddle could predict where the ball would land so it will be impossible to beat. While it would be disheartening to play against such an AI, it was nonetheless interesting to look at how this could be done.
Following on from last time, we will now make our paddle move up and down using the W and S keys.