Commit Graph

34 Commits

Author SHA1 Message Date
efim fe8b54346a docs: adding license to deployable projects 2023-07-22 06:04:42 +00:00
efim 084035fdcb docs(14): lessons learned in rock-paper-scissors 2023-07-07 05:01:41 +00:00
efim 572b63c82d feat(root): attempt to create combined project
right now struggling with making page relative links,
so that images would get pulled from "subproj/public" path
2023-07-03 07:34:41 +00:00
efim f6d8a1de8d feat(14): nix derivation to build docker image 2023-07-03 06:23:46 +00:00
efim 80af2e0fd0 feat(14): nix installation module for rps 2023-07-02 12:51:45 +00:00
efim 9ddd9d3943 fix(14): halo should be around winning hand 2023-07-02 12:31:18 +00:00
efim 59cab44920 feat(14): header desktop styling 2023-07-02 12:07:13 +00:00
efim a7dbfffa8e feat(14): styling of desktop rules modal 2023-07-02 11:50:47 +00:00
efim b67b3cdc89 feat(14): adding initial rules modal overlay 2023-07-02 11:41:31 +00:00
efim 372fb5a6ad feat(14): end of game animation
couldn't make circles grow from the center, they still had shared top
point.
the templates are certainly not quite plesant to look at, with 2 states
being showed into same big template.

i suppose that animations for both hands in the showdow, and for single
hand in showdown would be better stored in separate files.

and maybe appended by the htmx replacements, but i'm feeling rushed
2023-07-02 10:11:10 +00:00
efim 0c8a9b91e0 fix(14): winning logic for rock 2023-07-02 07:22:37 +00:00
efim 18d91b742e fix(14): prettier animation 2023-07-02 07:22:28 +00:00
efim 69dc59a1ed feat(14): animated countdown to house choice 2023-07-02 07:17:28 +00:00
efim 73ccfba393 feat(14): update and persist scores 2023-07-02 06:58:33 +00:00
efim 4a5a13f6d4 fix(14): styling and text of message 2023-07-02 06:26:28 +00:00
efim 697985a480 feat(14): appearing message, new game request 2023-07-02 06:15:11 +00:00
efim 4e1f4f4a8e feat(14): setting up result message with data
i think i should be able to make it appear with delay just with css
(and that would also mean that my initial delayed call to get house
choice is also not necessary, but oh well, this is still nice practice)
2023-07-02 06:01:00 +00:00
efim 02a5f41800 refactor: make choices object, move out style
this should allow to write 'isBeating' function over choices.
and maybe move to enums
2023-07-02 05:26:23 +00:00
efim 54af09d356 feat(14): easy htmx automatic timed request 2023-07-01 20:07:53 +00:00
efim de3d4781f0 feat(14): manual request of house choice
hodgepodge of 2 fragments which are put into house choice depending on
the state.

the alignment is done in a very not nice way.
2023-07-01 20:00:19 +00:00
efim 66013ae1c6 feat(14): template in showdown-table, show choice 2023-07-01 14:20:52 +00:00
efim 69a464a767 feat(14): controls generated from fragment
with their own ids and htmx requests to submit the vote
2023-07-01 13:40:48 +00:00
efim 560ce6896a feat(14): controls models for fragment rendering 2023-07-01 13:06:36 +00:00
efim 91c53429e0 feat(14): initial static section change
paper control switches "controls" to "showdown" - the fragment of
results page. yay
2023-07-01 13:05:55 +00:00
efim 726cadec19 feat(14): final static main stylig 2023-07-01 08:10:16 +00:00
efim 9fc2e959fa feat(14): initial static styling of showdown 2023-07-01 07:25:20 +00:00
efim bed0387575 feat(14): styled static selection screen 2023-07-01 06:09:06 +00:00
efim de431a4bc0 feat(14): styled 3 controls, with css vars
for size, colors, position, this should be what i need i hope
2023-07-01 05:38:59 +00:00
efim 364d8a737a feat: initial styling of control 2023-07-01 04:58:37 +00:00
efim 6aa5c25a5e feat(14): adding exercise resources and guide 2023-06-30 18:20:39 +00:00
efim 1c8bc38f29 feat(14): enabling tailwindcss
the command to generate
"tailwindcss -i ./src/input.css -o ./src/main/resources/public/output.css --watch"
and this should be same during dev and in install script,
but. we'll be committing the output.css, let's try that
2023-06-30 17:03:21 +00:00
efim 83c75ad3a9 feat(14): enabling public resource serving
this time with "staticResources" for files in 'main/resources' which
should be copied and put onto classpath by the scala compilation, yay
2023-06-30 16:40:40 +00:00
efim ec5cac0680 feat(11): enabled cask server with simple template 2023-06-30 14:06:15 +00:00
efim 770b4f6e87 init(14): scala project def with main args 2023-06-30 13:47:20 +00:00