Display the game on the brick screen. Robotics Game of Life. Pro Preview

Learn to program the Game of Life on the LEGO Mindstorms brick screen. This would require drawing on the brick screen, using blocks with switches and loops.

  • #251
  • 17 Mar 2016
  • 2:47

We make a basic introduction on what programming on the LEGO Mindstorms EV3 bricks screen would require. 

This is what we are doing:

  1. How to draw squares on the bricks screen and build a matrix from the different squares
  2. How to fill the squares based on the state.
  3. Build a menu and move on in the matrix with the UP and DOWN buttons of the brick
  4. How to run the program and generate the new generation of the Game of Life

 

English

Our next step of the process is to actually learn how to program the Game of Life on the brick's screen. And we'll also experiment with other programming languages, but let's first start with the brick's screen and let's look into the 4 different things that we must learn in order to program this program on the brick.

There are 3 or 4 things that we should learn. The first as you see on the bricks screen there is a grid, a matrix and we must learn how to draw such squares on the brick's screen. So that's the cornerstone of the current program and we must learn how to draw and to build a matrix with different squares. That's one of the things that we should learn. Drawing squares on the screen We should also learn how to fill some of these squares, that's another challenge and it's about drawing, but we must also learn how to build some kind of a manual, as you can see I can move with the buttons up and down and do some things and if I start the program I have a menu here and I can select different things and the final thing that we should do after we can draw different rectangles and squares on the screen and we should actually learn how to run the program and generate the new generation, so we must learn how to build a manual then we must learn how to draw different squares on the screen, a matrix, grid and at the end we must actually play the Game of Life. So these are the 3 main topics and one of the interesting things that we'll start with is how do we draw different squares, how do we build matrix on the screen, how do we fill it and in these videos we'll take a look at things like loops, drawing on the screen

and we also look at arrays and how do we use them. Let's go into more details in the next video of how do we program this matrix to be displayed on the brick screen.