Javascript Simulator for testing robot strategies in sumo battle
Work in progress...
- Circle body
- Heading pose
- Side bumper
- Move forward / backward
- Turn left / right
- Side move left / right
- Arrow KEYS or WASD
- W Key = Move forward
- W Key + SHIFT Key = Move forward double speed
- S Key = Move backward
- A Key = Turn left
- D Key = Turn right
- A Key + SHIFT Key = Side move to the left
- D Key + SHIFT Key = Side move to the right
- Raycasting: +15/-15 rays or +60/-60 degrees\
The goal is to push the opponent out of the ring.
- Idle, don't waste your energy
- Wait, idle some time and then change strategy
- Face opponent, spin arround and check for rays reflection to keep opponent in front
- Keep inside dojo, spin arround to detect the ring border then steer moving to the center
- Seek, face opponent and go towards him
- Flee, same as seek but in the opposite direction
- Pursue, face opponent, calculate where will be at current speed and go towards that position
- Evade, same as pursue but in the opposite direction
- Attack, Seek and push him out of the ring
- Defend, face opponent and push when contact
- Agressive defend, face opponent and push strong when contact
- Remote control
- Movements cost energy
- Forward and backward cost is proportional to distance
- Rotation cost is porportional to time
- Trails\n when robot moves
- Particles\n when robots collides
- Battle time shall be based on three matches within three minutes
- The robot who gets two Yuko points during the battle time will be deemed the winner
- If only one Yuko Point has been won by the end of the battle time, the team which has won the Yuko Point will be deemed the winner.
- If neither of the teams wins the match within the battle time, battle time will be extended by three minutes. In the extension time, the team which gets one Yuko Point will be deemed the winner of the battle.
- move forward
- move backward
- side move left
- side move right
- turn left
- turn right
- move speed
- side move speed
- turn speed
Search is continued in the direction that the opponent was last seen
- Left side is color blue and the right side is color red.
- Starting line (Shikiri-sen)
Located 10 cm right and left from the center of the Dojo - White line delimits the external border of the Dojo (Tawara)
The Tawara shall be considered as within of the Dohyo - Check limits
If any of the following situations arises, the contestant shall get a Yuko Point:
-
Its robot makes the opponent’s robot touch any part outside the Dohyo legally.
-
The opponent's robot touches any part outside the Dohyo for any reason.
-
The opponent's robot is judged as the "Shinitai" pursuant when one or more wheels of the opponent's robot run out of the Dohyo edge, and the judge count until 3 and it cannot return into the Dohyo.
- Scan boundaries
- Raycasting
- Players layer
- Dojo boundaries layer