2023-08-23 21:39:54 -04:00
|
|
|
import { EggbugImg, Main, render_and_copy } from "./common.tsx";
|
2023-08-23 20:31:10 -04:00
|
|
|
|
2023-08-23 21:39:54 -04:00
|
|
|
const GolfBall = () => (
|
2023-08-23 21:31:10 -04:00
|
|
|
<div
|
|
|
|
style={{
|
|
|
|
resize: "both",
|
|
|
|
overflow: "hidden",
|
2023-08-23 23:07:05 -04:00
|
|
|
display: "flex",
|
2023-08-23 21:31:10 -04:00
|
|
|
position: "relative",
|
2023-08-23 23:07:05 -04:00
|
|
|
width: "22%",
|
|
|
|
height: "23.5%",
|
2023-08-23 23:11:55 -04:00
|
|
|
transition: "all cubic-bezier(0.19, 1, 0.22, 1) 2s",
|
2023-08-23 21:39:54 -04:00
|
|
|
gridArea: "1 / 1",
|
2023-08-23 23:07:05 -04:00
|
|
|
maxWidth: "100%",
|
|
|
|
maxHeight: "100%",
|
|
|
|
// backgroundImage:
|
|
|
|
// "url(https://static.pyrope.net/eggbug-golfball.png)",
|
|
|
|
// backgroundPosition: "150% 150%",
|
|
|
|
// backgroundRepeat: "no-repeat",
|
|
|
|
// backgroundSize: "5rem",
|
2023-08-23 21:31:10 -04:00
|
|
|
}}
|
|
|
|
>
|
2023-08-23 23:07:05 -04:00
|
|
|
<div style={{ overflow: "visible" }}>
|
|
|
|
<EggbugImg
|
|
|
|
type="golfball"
|
|
|
|
style={{
|
|
|
|
margin: 0,
|
|
|
|
position: "absolute",
|
|
|
|
right: 0,
|
|
|
|
bottom: 0,
|
|
|
|
width: "5rem",
|
|
|
|
height: "5rem",
|
|
|
|
transform: "translate(23%, 23%)",
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</div>
|
2023-08-23 20:31:10 -04:00
|
|
|
</div>
|
|
|
|
);
|
2023-08-23 21:31:10 -04:00
|
|
|
|
2023-08-23 23:07:05 -04:00
|
|
|
const Green = () => (
|
|
|
|
<img
|
|
|
|
style={{ gridArea: "1 / 1", margin: 0, width: "100%", height: "100%" }}
|
|
|
|
src="https://static.pyrope.net/golf-green.png"
|
|
|
|
alt="a crappy looking golf green drawn in kolourpaint. its crude geometry and eye-searing colors betray a total lack of artistic prowess"
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
|
2023-08-23 21:39:54 -04:00
|
|
|
render_and_copy(
|
2023-08-23 23:07:05 -04:00
|
|
|
<>
|
|
|
|
<Main style={{ display: "grid", width: "100%", aspectRatio: "1" }}>
|
|
|
|
<GolfBall />
|
|
|
|
<Green />
|
|
|
|
</Main>
|
|
|
|
you might say that minigolf has no challenge if the barriers mean
|
|
|
|
nothing and there's 2 holes.
|
|
|
|
<br />
|
|
|
|
however, i have crafted beautiful, marvelous, just great, fantastic
|
|
|
|
rules to account for this!
|
|
|
|
<br />
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
the goal is to get as few points as possible (i stole this idea
|
|
|
|
from watching soccer)
|
|
|
|
</li>
|
|
|
|
<li>each stroke is one point (honor system)</li>
|
|
|
|
<li>you may write an essay about what hole you chose and why</li>
|
|
|
|
<li>
|
|
|
|
each paragraph of this essay removes one point from your score
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</>
|
2023-08-23 21:39:54 -04:00
|
|
|
);
|
|
|
|
|
2023-08-23 21:31:10 -04:00
|
|
|
// OOOO: score with like a dial thing and an arrow pointing to it
|
2023-08-23 21:39:54 -04:00
|
|
|
// TWO DIALS WILL LOOK EVEN COOLER
|
|
|
|
// lower is better, just have to add the dials
|
2023-08-23 21:31:10 -04:00
|
|
|
// might be possible to have multiple holes with a details element that comes into frame hm
|
2023-08-23 21:39:54 -04:00
|
|
|
|
|
|
|
// hm this kinda sucks. you just drag it to the hole, there's no challenge
|
|
|
|
// i could have the ball be in a different place but then that would feel bad
|
|
|
|
// i think i'll go for the toy angle.
|
|
|
|
// keep the dials, have a "course"
|
2023-08-23 23:07:05 -04:00
|
|
|
// idk about the dials they seem like a lot of work
|
|
|
|
// as always, it is woefully apparent that I SUCK AT RESIZEABLE CRIMES
|
|
|
|
// i can't even *copy* (specifically blackle)
|