Spike Prime - Even Odd game - Fedor Agarshev

From RoboWiki
Jump to: navigation, search

Back to: List of projects of Spike up Prime Interest in Science and Technology through Games

About the project

This project is inspired by the even odd game from The Squid Game. Unlike the series, we do not have glass balls, but only points that the robot will count, but you can use something that you have at hand, for example, Lego pieces. As in the series, each player has 10 points at the start, you can bet as many points as you or your opponent has. After the bet, your opponent guesses whether you bet an even number of points or an odd one. To choose which bet your opponent has placed, you use the green dice for odd and red dice for even. If you guessed correctly, then you get all the points that your opponent put, if you didn’t, then you lose as much as your opponent put. Thus, you need to be careful about what kind of bet you make.

EvenOdd.png EvenOddGame.png

Video

Build a robot

  • Be careful while building the motors should be at zero. That is, the dot on the rotating part must match the circle on the base of the motor.

Building instructions:

Get the robot ready

Python code:

Game improvement task

Let's try to make the game harder. Add the ability for players to choose a number Negative numbers. In this case, if the opposite player guesses correctly, he will lose points and the other will win. Make sure that the bet does not exceed the possible number of points. If you have other ideas for changing or making the game more difficult, feel free to use them.

Evaluate your performance

Think about what you did well and what you could do better next time. And also how could the game be more interesting.

Teacher Resources