Commit graph

40 commits

Author SHA1 Message Date
0027a047c6 fix libraries changes 2025-05-02 21:43:38 +02:00
e9954bf54e fmt 2025-05-02 19:55:00 +02:00
zapashcanon
8955d9d73f
add CI 2025-01-20 04:13:36 +01:00
zapashcanon
acb2342081
implement wheat ! 2023-01-15 02:23:14 +01:00
zapashcanon
feebcd3841
implement grid offset 2023-01-15 00:48:47 +01:00
zapashcanon
2945e7d478
better keyboard handling 2023-01-12 04:19:40 +01:00
zapashcanon
b0d466ac08
use wss instead of ws when not on localhost 2023-01-10 05:07:07 +01:00
zapashcanon
0fcd970445
add medidate button 2023-01-10 04:39:58 +01:00
zapashcanon
078b679bc2
implement redirection when user should be logged in/logged out 2023-01-09 03:37:01 +01:00
zapashcanon
3f4c1b063e
fix medidate key 2023-01-09 02:40:40 +01:00
zapashcanon
f6ca371676
do not call regularly_call_fun twice as second call will overwrite the
first one...
2023-01-08 04:22:28 +01:00
zapashcanon
3a9d5daf02
add topbar with mana, fix bug where newly created state was not stored
in the hashtbl 😠, clean code
2023-01-08 04:10:15 +01:00
zapashcanon
51129ecb2e
add mana icon 2023-01-08 01:04:17 +01:00
b074eac54f add auto_state_update client & server 2023-01-08 01:01:47 +01:00
zapashcanon
cdd46850bf
stop using a hardcoded websocket address in ws_client 2023-01-03 23:53:05 +01:00
caffcbb527 do not send whole state on action 2023-01-03 22:26:39 +01:00
86489c5394 rm common.ml 2022-12-26 01:12:16 +01:00
753a50bf85 clean map 2022-12-15 20:15:26 +01:00
91cff202f6 wip: state server side; websocket 2022-12-15 18:58:56 +01:00
zapashcanon
549aa39e09
implement player dir, clean code 2022-12-08 04:12:55 +01:00
zapashcanon
365c558f35
make sure there's an odd number of tiles 2022-12-08 03:08:49 +01:00
zapashcanon
ddeba99f2e
optim 2022-12-08 02:20:03 +01:00
zapashcanon
0aded75cb7
clean code 2022-12-08 02:14:31 +01:00
zapashcanon
b89202dfb0
fix rendering, fix the way we use request_animation_frame 2022-12-08 02:09:23 +01:00
1b89d35dfd fix dune :^) 2022-12-08 00:07:59 +01:00
484203c927 remove commented code 2022-12-07 23:16:36 +01:00
de904f86cc use request_animation_frame 2022-12-07 23:14:11 +01:00
4b2e90f737 remove js ppx 2022-12-07 22:14:13 +01:00
5bbfd54efb better keyboard 2022-12-07 18:46:29 +01:00
82dcc24eed Brrrr 2022-12-07 18:15:47 +01:00
zapashcanon
9833eb520e
add basic movements 2022-12-06 03:30:16 +01:00
zapashcanon
dddcf9b488
draw canvas from a map 2022-12-06 03:08:30 +01:00
zapashcanon
b504b1a69d
get display to work 2022-12-06 02:31:33 +01:00
zapashcanon
1736a4c905
clean code 2022-12-06 01:00:39 +01:00
zapashcanon
eda6a2d001
update style 2022-12-06 00:25:44 +01:00
zapashcanon
ac2ede257f
upload tiles 2022-12-06 00:25:40 +01:00
zapashcanon
20f18bcd76
clean code 2022-12-06 00:25:28 +01:00
zapashcanon
97864116bb
do not force file to exist 2022-12-05 22:44:30 +01:00
zapashcanon
be2a16e0b9
update .ocamlformat 2022-12-05 22:35:38 +01:00
6fd066773f b 2022-12-04 22:42:55 +01:00