Commit graph

260 commits

Author SHA1 Message Date
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
Tyler Marques
12983d6164
Fixing the spawning of Supply centers
They were removed by accident, adding them back in.
2025-03-25 16:55:35 -04:00
Tyler Marques
950cb43f4c
Working animations
We have working animations, when going forward in time.
2025-03-25 16:55:35 -04:00
Tyler Marques
2533a7b422
Working animations, correctly taking bounces into account.
There is still an issue with some orders not having matching units.
Ongoing issue with managing state in the game.
2025-03-25 16:55:35 -04:00
AlxAI
67b772d60d standings! 2025-03-22 17:32:17 -07:00
Tyler Marques
c5a9b91616
Fixing the spawning of Supply centers
They were removed by accident, adding them back in.
2025-03-20 14:09:25 -04:00
Tyler Marques
6c3f6fd625
Merge branch 'feature/streaming_mode' 2025-03-20 13:45:59 -04:00
Tyler Marques
dc5abd0a10
Working animations
We have working animations, when going forward in time.
2025-03-20 13:43:39 -04:00
Tyler Marques
d15021b7df
Working animations, correctly taking bounces into account.
There is still an issue with some orders not having matching units.
Ongoing issue with managing state in the game.
2025-03-20 11:31:28 -04:00
AlxAI
06f4a8c642
Merge pull request #19 from Tylermarques/feature/streaming_mode
Adding automatic start to playing if we set an env variable.
2025-03-19 11:55:36 -07:00
Tyler Marques
40851c572e
Adding automatic start to playing if we set an env variable.
Also added a dev container that will hot load your code, so we can make
sure out environments are identical.
2025-03-19 09:36:31 -04:00
AlxAI
f00a037aed fixed logging and elevan labs! 2025-03-17 14:49:40 -07:00
AlxAI
476402a23e
Merge pull request #18 from Tylermarques/feature/headless-stream3
Headless streaming now works
2025-03-17 13:34:19 -07:00
Tyler Marques
e92c3393d2
Full working stream. Fixed issue with chrome SIGILL'ing with base software renderer
Moved the assets to public, as assets is the directory that vite preview
serves it's files from and that confuses vite. Using public is just
easier. Updated all the needed links.
2025-03-17 16:27:03 -04:00
Tyler Marques
1969c3e409
WIP: Fullscreen, working stream. Need to default to playing, as well as have a default game load 2025-03-17 15:40:32 -04:00
Tyler Marques
cff209dc55
Making sure to add example env 2025-03-17 14:56:16 -04:00
Tyler Marques
33298eff3c
Streams to twitch given a correct streaming key. Needs to fic the fact that the screen isn't the full width of the monitor 2025-03-17 14:54:21 -04:00
AlxAI
ee75a2a4ba fixed bugs and streamlined between turns 2025-03-15 19:05:39 -07:00
AlxAI
8d9223de74 First pass fixing post typescript port 2025-03-15 18:21:18 -07:00
AlxAI
502445a0d1
Merge pull request #17 from Tylermarques/bugfix/animations-disappearing
Animations now present, they just don't always move to the right space.
2025-03-15 12:46:52 -07:00
Tyler Marques
a417d9510a
WIP Animations now work, the spot they go to is just wrong lol 2025-03-14 09:46:21 -04:00
Tyler Marques
24bef1271c
Working initial state again 2025-03-13 14:21:43 -04:00
Tyler Marques
ae2db39729
WIP: Moving most globals into gamestate
The gamestate object is now where most of the "state" of both the map
and the board live. The units load, just working on loading the colors
of the map ownership again.
2025-03-13 11:33:30 -04:00