Commit Graph

50 Commits

Author SHA1 Message Date
1647615595 ,.... 2023-04-10 19:05:10 +01:00
0991c6bff9 Fix a lot of stuff 2023-04-10 11:19:11 +01:00
848c56ff84 Ensure ciphertexts are cloned to avoid mutating actual object. 2023-04-09 18:36:58 +01:00
5557a8bff6 .... 2023-04-07 18:59:33 +01:00
eccf482192 ... 2023-04-06 20:42:24 +01:00
f645c234ce Add event to just update strength numbers 2023-04-06 12:18:21 +01:00
9d1d64f1d9 Fix bug where ciphertexts could end up negative 2023-04-06 12:15:19 +01:00
jude
931b669529 Some verification working 2023-03-24 16:53:02 +00:00
jude
07b1080b3d Fix some stuff and sort of implement proving 2023-03-24 12:41:54 +00:00
jude
6de13d3b70 Ensure bit length of randomly generated numbers are fine 2023-03-19 15:31:29 +00:00
jude
6b001d9f2c code for proof system 2023-03-18 15:41:37 +00:00
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