Commit graph

282 commits

Author SHA1 Message Date
AlxAI
7fe6544667 fixed prompts, improved negotiations, and diaries 2025-05-17 20:00:14 -04:00
AlxAI
8c87d6f050
Merge pull request #29 from Tylermarques/hotfix/missing-provinces
hotfix/missing provinces
2025-05-16 14:24:14 -04:00
Tyler Marques
302e93de9d
Updating Elevenlabs to speak fully when not in debug 2025-05-15 11:34:02 -04:00
AlxAI
4b32940bf6 fixing prompts 2025-05-15 11:22:24 -04:00
Tyler Marques
5621a43c48
Adding the missing provinces.
There still may be more, but these were what was triggered when
ingesting new game. We obviously need tests.
2025-05-15 08:28:59 -04:00
AlxAI
bfcb9ce401 XML didn't work 2025-05-14 22:03:13 -04:00
AlxAI
6d9fdc4bd9 Merge branch 'main' of https://github.com/Alx-AI/AI_Diplomacy 2025-05-13 21:46:42 -04:00
AlxAI
02bde92188 Improving prompts with XML 2025-05-13 21:46:40 -04:00
AlxAI
8d5aee2fd2
Merge pull request #28 from Tylermarques/bugfix/panning-jumps
bugfix/panning jumps
2025-05-13 18:53:52 -04:00
Tyler Marques
88fe684d28
Merge branch 'bugfix/panning-jumps' 2025-05-13 15:16:41 -07:00
Tyler Marques
e46455d279
Fixing bug where yoyo-tween jumped to init pos
There is a bug in Tween.js that makes the camera jump when you are using
the yoyo() function. This is mitigated by calling update twice per loop,
waiting for a patch from the tween.js team.
https://github.com/tweenjs/tween.js/issues/677
2025-05-13 12:19:18 -07:00
AlxAI
a6a77d17b7 Update planning_instructions.txt 2025-05-12 23:05:51 -04:00
AlxAI
ff1f410f74 a little more agro prompts 2025-05-12 16:20:25 -04:00
AlxAI
a7d7703d7f always send messages 2025-05-12 14:26:14 -04:00
AlxAI
277de90349
Merge pull request #27 from Tylermarques/main
BUGFIX: Camera Pan now works while playing.
2025-05-12 13:28:18 -04:00
AlxAI
b4bc48337e fix relationships, good to go backend 2025-05-12 13:27:57 -04:00
Tyler Marques
500428e872
Fixing cameraPanAnim not getting init'd properly. 2025-05-12 10:02:24 -07:00
AlxAI
3a935c0491 fixed diary 2025-05-12 10:37:34 -04:00
AlxAI
94313c16d9 fix relationships 2025-05-11 22:19:20 -04:00
AlxAI
0bd6428729 BIG UPDATES logging everything, better structure of moves, everything runs fast af 2025-05-11 19:10:18 -04:00
AlxAI
64dd7be6f2
Merge pull request #26 from sam-paech/main
add private diary summaries
2025-05-11 08:21:26 -04:00
sam-paech
0c7b0157b5 add private diary summaries 2025-05-11 18:38:37 +10:00
AlxAI
432c783aaa updates to context 2025-05-10 22:57:11 -04:00
AlxAI
fa52f4f841 adding the rotating display but bugs still with the game loop 2025-05-06 20:25:40 -04:00
AlxAI
4cdcd64a9e Support more openrouter models 2025-05-05 17:38:59 -04:00
AlxAI
53e6a8fd6a saving logs 2025-05-05 10:46:34 -04:00
AlxAI
156708f643 Update plotting.ipynb 2025-05-04 11:23:37 -04:00
AlxAI
1dc25702b6 relationships work! Everything is ready for big runs 2025-05-04 11:21:51 -04:00
AlxAI
e6ba8bfbf1 summaries working not statistical summary though 2025-04-30 23:16:57 -04:00
AlxAI
02118dc98b async!! 2025-04-29 22:28:53 -04:00
AlxAI
0db62f378c update state 2025-04-29 21:27:22 -04:00
AlxAI
eeddac0ef9 its working! 2025-04-29 20:51:46 -04:00
AlxAI
47f55423da cleaning up a little 2025-04-28 21:09:48 -04:00
AlxAI
19fbbe84bc
Merge pull request #25 from Tylermarques/bugfix/bad_unit_destination
bugfix/bad unit destination.... THIS WILL BE COMPLETED
2025-04-22 13:28:42 -04:00
Tyler Marques
ae8ff4d455
Added a smoother camera pan animation during game play.
The tween animation uses the tweening library to smoothly move the
camera across the board. Also added a smoothing for any large jumps in
the position of the camera.
2025-04-15 13:04:43 -04:00
Tyler Marques
ee9d0afea0
Sometimes createAnimations was called twice per phase
I'm not certain how this will affect speaking, as I don't have a working
speech example. That is to test next.
2025-04-15 12:04:12 -04:00
Tyler Marques
ff8249709f
Missing SCs, units with bad destination data
There were a number of tiles that didn't have SCs, resulting in some of
the provinces appearing to have more units than SCs. This was an issue
with the map data and is now fixed.

When setting the unit destination, we were setting it when creating the
animation, meaning that when we went to create the next animation we
would find the unit we already made an animation for.
2025-04-15 12:04:12 -04:00
AlxAI
ae697d164a
Merge pull request #24 from Alx-AI/personality_upgrade
Personality upgrade with Agents
2025-04-15 09:02:05 -07:00
AlxAI
65f287df84 iterating 2025-04-13 12:12:11 -07:00
AlxAI
6e5079fa02 working with agent, relationships, and goals (seemingly) 2025-04-09 22:24:10 -07:00
AlxAI
70f4438b2e state! 2025-04-07 17:25:12 -07:00
AlxAI
203a63d69a
Merge pull request #23 from Tylermarques/feature/move_animations
Spawn Animation and working retreat orders
2025-03-26 14:13:13 -07:00
Tyler Marques
cae33dd5ba
Retreats now work as expected 2025-03-26 17:05:30 -04:00
Tyler Marques
34371a40af
Working spawn animations. Units lower from the heavens.
Also updated currentPower to come from the gameState object instead of
just another export from the file.
2025-03-26 10:12:22 -04:00
AlxAI
9efb42f672
Merge pull request #22 from Tylermarques/feature/better-animations
feature/better animations
2025-03-26 07:10:16 -07:00
AlxAI
11071889f5
Merge branch 'main' into feature/better-animations 2025-03-26 07:09:47 -07:00
AlxAI
0cbf585148
Merge pull request #21 from Tylermarques/bugfix/spawn_supplycenters
Fix SC spawning
2025-03-26 07:06:10 -07:00
AlxAI
f0054a722d
Merge pull request #20 from Tylermarques/feature/streaming_mode
Working animations
2025-03-26 07:05:58 -07:00
Tyler Marques
7548a0e62c
Fixed the animation, fixed the weird flying boat. 2025-03-25 16:56:45 -04:00
Tyler Marques
e979c065bc
WIP: Adding some animations, as well as tween'd camera movement
The tween'd movement is non-blocking and therefor stutters less. Only
issue is it doesn't go to the correct path yet.
2025-03-25 16:56:42 -04:00