Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smallpeice 2023 #24

Merged
merged 55 commits into from
Jul 29, 2023
Merged

Smallpeice 2023 #24

merged 55 commits into from
Jul 29, 2023

Conversation

RealOrangeOne
Copy link
Member

@RealOrangeOne RealOrangeOne commented Apr 24, 2023

Write the rules for smallpeice 2023.

Fixes #18
Fixes #19

This also ports the tooling from LaTeX to HTML, as it's much easier to work with, especially cross-platform. I've gone with vite as a build tool to simplify building the final HTML with styles, such that it can be easily deployed to GitHub Pages.

The template is massively "borrowed" from the Student Robotics rulebook, but updated to be Smallpeice / SourceBots specific.

Render

image

index.html Outdated
was not entered into the round, or who were disqualified from the round, will be awarded
no points.
<li>
If a match ends in a tie, robots will be awarded the average of the points that their combined
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've paraphrased this from what we do with a 4-robot game - I think it's correct?

index.html Outdated
<li>
At the end of the leagues, positions in the leagues are used to seed a
knockout. This will be used to determine the final 1<sup>st</sup>,
2<sup>nd</sup> and 3<sup>rd</sup> awards.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and 3rd

Question: Should we do a 3rd place match? Otherwise 3rd and 4th are distinguished only by league points, rather than performance in a knockout

index.html Outdated Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
Copy link
Member

@sedders123 sedders123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, a few minor things

src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated
<li>
Robots can pick up tin cans which are in the track. For every can a robot is carrying when it crosses a scoring line, the number of points awarded is doubled.<br>For example, a robot carrying two cans is awarded four points.
<li>
At the end of each lap - defined as every sixth crossing of a scoring line in a forward direction - a robot is awarded an additional four points above the points it would normally get for the crossing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we move the parenthetical to a footnote maybe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't really have precedence for footnotes in these rules. They'd also behave weirdly when printed.

We could stick it on the end of the line as a separate sentence - that might read easier than it being stuck in the middle of the sentence?

src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated
<li>
A robot is deemed to have passed a scoring line when the back of the robot passes the line.
<li>
Cases of a robot passing backwards over a line are offset against future crossings forward of a line. That is, if a robot crosses over two track boundaries backwards, it will need to cross two track boundaries forwards before it can gain any more scoring line points.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little bit wordy, would be good if we can optimise this down a bit?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we just remove the example?

Suggested change
Cases of a robot passing backwards over a line are offset against future crossings forward of a line. That is, if a robot crosses over two track boundaries backwards, it will need to cross two track boundaries forwards before it can gain any more scoring line points.
Cases of a robot passing backwards over a line are offset against future crossings forward of a line.

src/index.html Outdated Show resolved Hide resolved
src/fig-arena.svg Outdated Show resolved Hide resolved
@RealOrangeOne RealOrangeOne merged commit 20572ed into master Jul 29, 2023
2 checks passed
@RealOrangeOne RealOrangeOne deleted the smallpeice-2023 branch July 29, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Newer(?) inkscape uses --export-pdf not --export-filename Clarify dependencies
5 participants