Commit Graph

39 Commits

Author SHA1 Message Date
jude
2d72cdd87b paillier integration sort of 2023-03-17 10:42:11 +00:00
jude
a6961e1900 ... 2023-03-13 14:52:14 +00:00
jude
4a55f5c11f Prevent replay 2023-03-07 15:43:47 +00:00
jude
c0f2c4bbef Fixed most other stuff that I broke 2023-03-05 17:19:37 +00:00
jude
96fe20503a Sign packets 2023-03-04 14:19:26 +00:00
jude
ab629a78b4 correct modular inverse 2023-03-04 10:50:49 +00:00
jude
ed171bf77f RSA keygen. some other stuff 2023-03-04 00:25:54 +00:00
jude
cf0c9135e1 Mid refactor to stop polluting the namespace so much 2023-03-03 17:34:15 +00:00
jude
9e184e8aa6 Replace FME with addition chaining from Bruce Schneier 2023-02-27 20:08:50 +00:00
jude
62204634e1 show defending region 2023-02-18 16:48:31 +00:00
jude
507a087198 Defending sort of works 2023-02-18 15:12:06 +00:00
jude
0b4379326e Attacking sort of works 2023-02-17 13:48:07 +00:00
jude
8b5f7df592 Fortifying works 2023-02-17 12:46:21 +00:00
jude
bcbd407d7d Change buttons a bit. End turn option 2023-02-16 09:38:03 +00:00
jude
b3fd23bba2 show action list and remaining placements on a turn 2023-02-15 18:00:25 +00:00
9ffd43e944 Fleshed out stub. Added fortify and stub for attack. 2023-02-13 15:52:17 +00:00
d99b5b3373 Stub for act method to perform generic actions during a turn 2023-02-13 15:32:54 +00:00
8cf3e3c41a Store primes in sessionStorage to make reloading the page quicker. 2023-02-13 14:55:25 +00:00
c4f6c24469 Fix bug in random generator. Correct a proof 2023-02-13 14:36:58 +00:00
jude
bffc7a3a66 Correct Paillier code. Dissertation 2023-02-12 22:45:51 +00:00
jude
d397cf352a needs to be taken mod n for some reason. 2023-02-12 16:51:28 +00:00
jude
9f6584ba1a Some paillier bits 2023-02-11 14:59:24 +00:00
jude
235c0a0e42 Add some stuff 2023-02-10 15:47:21 +00:00
jude
6db33c112e Colors and claiming regions 2023-02-08 17:55:45 +00:00
d6d31566b9 move prime generation out 2023-02-08 15:52:02 +00:00
jude
3f0dbc06f7 Generate very large primes 2023-02-06 18:26:14 +00:00
38b720d1b7 Some claiming logic 2023-02-06 13:03:25 +00:00
79c4ce20d1 Added a far more basic map 2023-02-06 12:30:24 +00:00
3062653d95 Add regions. Retrieve next player. 2023-02-06 11:04:37 +00:00
8d1a7e14e3 Add barrier type. Transition into playing phase properly. 2023-02-02 11:27:52 +00:00
jude
8afe512062 Fix up selecting first player and some errors in the number generation. 2023-02-01 18:09:32 +00:00
jude
b37f273b05 Add methods to wait for random session to complete 2023-01-31 14:19:56 +00:00
jude
0a1011f0e5 Add before unload event to more consistently remove players who leave 2023-01-31 12:44:47 +00:00
jude
bfb92e89b0 Working now 2023-01-31 12:34:13 +00:00
jude
42e2514c82 Cooperative random 2023-01-29 16:47:37 +00:00
jude
8e22d37b64 Show the players
Send keepalive pings. Remove players who haven't sent pings.
2023-01-14 16:59:11 +00:00
39c31e0f90 Announce player joins
Clients announce on join and maintain a list of known players
2022-12-29 14:36:55 +00:00
73b51fada6 Update gitignore 2022-12-29 14:11:18 +00:00
d90605eab5 files 2022-12-26 14:15:23 +00:00