Commit graph

282 commits

Author SHA1 Message Date
AlxAI
03b0db2894
Merge pull request #31 from Tylermarques/main
Adding dynamic power names (now shows model names)
2025-05-30 15:53:54 -04:00
Tyler Marques
8c2d778065
Can now set the power a game should run as
When creating a game.json, you can set the top level key "power" to any
valid key of PowerENUM and the game will always run from that power's
perspective.
2025-05-30 12:06:04 -07:00
Tyler Marques
32cce1bce0
Fixing styling so overflow doesn't occur in chat 2025-05-30 11:33:17 -07:00
Tyler Marques
aa8ccf123d
Tool to show random moment in the game and skip to that turn.
Useful for testing the moment display, as well as comparing the moment
to thestate of the game
2025-05-30 11:33:17 -07:00
Tyler Marques
16f4384c5a
Updating font sizes to be more readable. 2025-05-30 11:33:17 -07:00
Tyler Marques
ecf8e1db06
Another pass at basic moments
Adding diary, name of powers, name of moment type, and some supporting
thoughts.

Added a debug menu item to disable or enable the eleven labs speech.
Useful for removing it when debugging
2025-05-30 11:33:16 -07:00
Tyler Marques
e1309c4012
Rudimentary moments working, instant chat debug tool
The moments are now triggered correctly and have the phases happen as
expected.
Also added an instant chat tool that skips the playing out of all the
messages and instead lets us quickly move through a game
2025-05-30 11:33:16 -07:00
Tyler Marques
8a3b6273cc
WIP: Moment display at the end of the turn only 2025-05-30 11:33:16 -07:00
Tyler Marques
25c67cbf78
Updating interface to use the names of the models instead of the powers 2025-05-30 11:33:16 -07:00
Tyler Marques
d20eaa5217
Power names are now shown as the model name 2025-05-30 11:33:16 -07:00
Tyler Marques
b90df44aee
Implementing a debug menu item for moments
Lets you see what moment is meant to come up next.
2025-05-30 11:33:16 -07:00
Tyler Marques
256c3b67c3
Debug menu.
Shows when run in debug mode and includes tools to look at
game state while the game is running and inspect behaviour interactively
2025-05-30 11:33:15 -07:00
Tyler Marques
2fd8ee379a
Add debug province highlighting feature
Adds a debug panel that allows typing province names to highlight them on the map with a flashing yellow animation. Only visible when debug mode is enabled.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-30 11:33:15 -07:00
Tyler Marques
b8b7770435
WIP: Better scaffolding for triggering moments 2025-05-30 11:33:15 -07:00
Tyler Marques
e6f48b7289
Moving render to end of the function
More info found here https://threejs.org/manual/#en/rendering-on-demand
2025-05-30 11:33:15 -07:00
Tyler Marques
863ed605e9
Removing no longer used var 2025-05-30 11:33:15 -07:00
Tyler Marques
4c3fb72983
Removing files that got added by accident 2025-05-30 11:33:15 -07:00
Tyler Marques
9b514e8c13
Some file typing fixes. 2025-05-30 11:33:14 -07:00
AlxAI
1055920b45 re-add json file 2025-05-29 22:09:15 -04:00
AlxAI
3a694dbb68 Merge branch 'main' of https://github.com/Alx-AI/AI_Diplomacy 2025-05-29 18:45:22 -04:00
AlxAI
fa8a6dcb60 Update clients.py 2025-05-29 18:45:20 -04:00
AlxAI
6e2c5599cd
Merge pull request #30 from Tylermarques/main
Sync branches and update some game logic
2025-05-29 10:30:10 -04:00
AlxAI
b1e5cd7a89 Update utils.py 2025-05-29 10:29:39 -04:00
Tyler Marques
cebfa8e980
Removing the relationship popup - currently not used. 2025-05-28 10:38:17 -07:00
Tyler Marques
a02594e3cc
Fixing issue where fleets convoy-ing were trying to move 2025-05-28 10:38:17 -07:00
Tyler Marques
3dcdadf096
Claude - Adding workflows that will run on PR to catch failed tests 2025-05-28 10:38:16 -07:00
Tyler Marques
29bc960fe3
Added some initial tests for the functions present.
Had a resurgence of a bug I was pretty sure I fixed, but it came back.
Adding some tests to make sure we catch it if it comes back again.
2025-05-28 10:38:16 -07:00
Tyler Marques
cad1cb0464
Fixing bug where province colors didn't reset on game change.
The province colors were not properly being iterated through, needed to
do all of them on game change.
2025-05-28 10:38:16 -07:00
Tyler Marques
3642e391bc
Updating phase state control to allow for reinit of units at any phase.
I wanted to be able to cause the turns to either progress, or to set the
units in their specific spots. This way if I skip ahead a bunch of turns
for one reason or another, I don't have to worry about the units on the
  board being all messed up.
2025-05-28 10:38:16 -07:00
Tyler Marques
9a43be9b9c
Adding a GameId to allow moving through a list of games. 2025-05-28 10:38:16 -07:00
Tyler Marques
9314a411f9
WIP: Starting the ingestion of moments.json file 2025-05-28 10:38:16 -07:00
Tyler Marques
06cf18c7bf
Fixing issue with province names appended with /...
Signed-off-by: Tyler Marques <me@tylermarques.com>
2025-05-28 10:38:16 -07:00
Tyler Marques
981dfef6a0
WIP: Continuing to iterate 2025-05-28 10:38:16 -07:00
Tyler Marques
190686e248
WIP: Adding games to test. 2025-05-28 10:38:15 -07:00
Tyler Marques
d250e38359
WIP: Adding a larger relationship view, that shows all powers 2025-05-28 10:38:15 -07:00
AlxAI
cd501a5b03 trying new way to analyze 2025-05-27 15:50:22 -04:00
AlxAI
7e35e005db more parsing 2025-05-26 13:50:57 -04:00
AlxAI
21d852308e more flexible 2025-05-25 17:41:00 -04:00
AlxAI
a2781c3568 lie detection improved! 2025-05-25 12:02:54 -04:00
AlxAI
4b92dd5af0 updating analysis with lie detection (it's not great yet) 2025-05-24 20:44:23 -04:00
AlxAI
0c84ac990b updated readmes 2025-05-22 11:02:38 -07:00
AlxAI
742e260464 fixing eliminated powers 2025-05-21 21:27:49 -07:00
AlxAI
81e3dcfe3f analyze game moments with number of failures per model 2025-05-21 19:38:07 -07:00
AlxAI
94a69be25a full diaries 2025-05-20 22:12:18 -07:00
AlxAI
9322ada62b analyze moments, run big models well 2025-05-20 20:04:19 -07:00
AlxAI
f36d5672ea consolidation of diary! 2025-05-18 19:51:34 -04:00
AlxAI
db827de273 first diary 2025-05-18 17:23:47 -04:00
AlxAI
a8749d3aab woohoo, focused on showing the models and the powers 2025-05-17 22:52:13 -04:00
AlxAI
c50ac85758 analyze game moments attempt 1 2025-05-17 22:28:22 -04:00
AlxAI
f22ef6c627 context on ignored messaged 2025-05-17 20:17:03 -04:00