generated from cs130-w21/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Rules
Soheilvt75 edited this page Mar 8, 2021
·
6 revisions
1.1: The Coding Block Costs: All coding blocks except the Loop Block have cost of 1
1.2: Loop Block cost is the sum of all the blocks in the Loop Block
1.3: Loop Block has a default counter of 1 which can be changed using the drop down next to it(maximum counter is 10
1.4: Loop Blocks cannot be nested in each other for simplicity.
2.1: The robot can move to empty tiles on the board.
2.2: The robot can move forwards and backwards using the corresponding code block.
2.3: The robot can rotate to the left or right with respect to the direction it's facing.
2.4: The robot must have at least 3 energy to rotate (This requirement can increase or decrease based on power ups/downs)
2.5: The robot can move onto tiles occupied by power up/down.
2.6: The robot cannot move out of bounds (grayed out tiles) or onto the tiles which are occupied by a rock.
2.7: The robot cannot move onto the other robot.
2.8: The robot must have at least 5 energy to move (This requirement can increase or decrease based on power ups/downs)
3.1: The robot can mine rocks in adjacent tiles.
3.2: The robot must also face the rock to mine it.
3.3: The robot must have at least 10 energy to mine (This requirement can increase or decrease based on power ups/downs)
3.4: Rock Placement Rules:
3.3.1: Rocks can be placed on empty tiles of the board that are not out of bounds
3.3.2: The robot must have at least 7 energy to place a rock (This requirement can increase or decrease based on power ups/downs)
4.1: The power Up/Downs are in chests around the map
4.2: The power Up/Downs are pseudo random
4.3: Power Up/Down Types:
4.3.1: Battery Pack: Gives the player 50 energy
4.3.2: Mining Boost: For the next 10 movements cost of mining will be 0
4.3.3: Movement Boost: For the next 10 movements cost of movement will be 0
5.1: Time limit: Each turn the coding phase will have a 60 seconds time limit
5.2: Ending turn: When the player finished programing the robot they can submit their code
5.3: Submitting: The player can submit their code before the time limit or whatever is in the coding panel will get submitted automatically.
5.4: Turn limit: There is an 10 turn limit on the game.
6.1: Gathering: The players will get points by mining the points
6.2: Types of Points: There are three type of points, 5 points, 10 points, 20 points.
7.1 Winning:
7.1.1: Turn limit reached: The player with the higher score at when the turn limit is reached will win
7.1.2: Point limit reached: The player who gets to the point limit 100 will win
7.2 Losing: If you don't win you'll lose :)