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.
Evolution Tutorial #1
In this tutorial, we will create a species of creatures that will randomly move within a canvas searching for food.
Pong #5: AI player
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.
Pong Tutorial #2: keyListener
Following on from last time, we will now make our paddle move up and down using the W and S keys.
Pong Tutorial #1: Paddle
To get us introduced to game development in JavaScript, we are going to make Pong, “one of the earliest arcade video games.”
Pong #4: 2 Player
In this session we started on adding a second computer to our pong game. Oliver even managed to get a 2nd human player using the up and down keys. Check it out below! Code: JavaScript | HTML | CSS | Result