Programming & Probability
In this project, using a program called StarLogo Nova, we created a video game with the use of coding. The video game had to include probability.
The Process:
Benchmark 1- Brainstorming what type of game we wanted to create.
Benchmark 2- Describing how we're going to create the game and how probability will be included.
Benchmark 4- Creating a tree diagram and a two way table for your game.
Benchmark 7- DP (Digital portfolio) update.
SNAKE GAME
Link to the Game: http://www.slnova.org/ksalustiano2019/projects/386747/
How to play:
Using the controls left, right, up, and down arrow, eat as much food as you can with the snake head. Every time you eat a food, a tail will add on to the snake. There are also little red enemies roaming around, so you have to eat as much foods as you can while avoiding hitting the enemies and the edges of the game board.
Reflection:
A challenge I faced in this project is using the program. It was hard getting the code to do exactly what I wanted, especially because I wasn't good at reading the code. Because of this, I had to change my game idea because at first I was going to create a game where you have to shoot as many goals as you can in a soccer goal with a goalie blocking the way but I couldn't figure out the coding for shooting the ball the way I wanted, and making the goalie pop up at random spots. Another challenge I faced was making a video game that included probability. A success I had during this project was, once I actually created the game, I began to understand how the coding worked. My game came out successful and the way I wanted it to be.
The Process:
Benchmark 1- Brainstorming what type of game we wanted to create.
Benchmark 2- Describing how we're going to create the game and how probability will be included.
Benchmark 4- Creating a tree diagram and a two way table for your game.
Benchmark 7- DP (Digital portfolio) update.
SNAKE GAME
Link to the Game: http://www.slnova.org/ksalustiano2019/projects/386747/
How to play:
Using the controls left, right, up, and down arrow, eat as much food as you can with the snake head. Every time you eat a food, a tail will add on to the snake. There are also little red enemies roaming around, so you have to eat as much foods as you can while avoiding hitting the enemies and the edges of the game board.
Reflection:
A challenge I faced in this project is using the program. It was hard getting the code to do exactly what I wanted, especially because I wasn't good at reading the code. Because of this, I had to change my game idea because at first I was going to create a game where you have to shoot as many goals as you can in a soccer goal with a goalie blocking the way but I couldn't figure out the coding for shooting the ball the way I wanted, and making the goalie pop up at random spots. Another challenge I faced was making a video game that included probability. A success I had during this project was, once I actually created the game, I began to understand how the coding worked. My game came out successful and the way I wanted it to be.