Scott Anderson
9cac9919c3
SpawnExecution
2025-04-17 23:15:19 -04:00
Scott Anderson
3b07f78e97
strictNullChecks
2025-04-07 05:12:09 -04:00
Evan
924ca2c69e
bugfix: humans start with zero troops on teams, also removed manpower argument to addPlayer()
2025-04-04 10:03:00 -07:00
Evan
9d1b4f35e4
bugfix: SpawnExecution was not attaching PlayerExecution to humans
...
bugfix: WinModal was saying player died even if they hadn't spawned
added hasSpawned() method to player
2025-04-03 20:12:36 -07:00
Evan
9fa3691c5c
bugfix: SpawnExecution couldn't find existing player because Game.Players() only returns alive players. This caused SpawnExecution to respawn each human player.
2025-04-03 19:31:42 -07:00
Evan
8b6895d745
add prettier import plugin
2025-03-31 13:09:27 -07:00
evanpelle
ab3f4fbac1
All players must join game before spawn ( #380 )
...
## Description:
The server stores all players that have joined, and once the game starts
it sends a list of players to all clients. Players cannot join after the
game has started. Server now generated the PlayerID instead of the
client.
The is necessary for team mode, we need to know how who is playing the
game before it starts so we can properly assign teams based on clans.
## Please complete the following:
- [x] I have added screenshots for all UI updates
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors
## Please put your Discord username so you can be contacted if a bug or
regression is found:
evan
2025-03-30 17:04:29 -07:00
Evan
5e6f8f5d91
validate all intent input
2025-02-18 16:26:49 -08:00
Evan
4ee37323f9
format codebase with prettier
2025-02-01 12:05:11 -08:00
evanpelle
de1dbff570
combine Game & MutableGame
2025-02-01 12:05:11 -08:00
evanpelle
7d15c0c065
combine Player & MutablePlayer interfaces
2025-02-01 12:05:11 -08:00
Evan
f0f5bae79f
thread_split: convert all tile to tileref
2025-02-01 12:05:11 -08:00
evanpelle
10a1f1af8e
thread_split: enable spawn highlight
2025-02-01 12:05:11 -08:00
Evan
2afecf0f39
create troop slider
2024-11-03 12:37:56 -08:00
evanpelle
f3307300ef
refactored GameImpl into multiple files
2024-09-17 19:49:16 -07:00
evanpelle
8331047a9b
have client create player id
2024-09-07 21:23:38 -07:00
evanpelle
5931d15caf
added local build, improved spawnexec
2024-09-07 20:40:52 -07:00
evanpelle
4caaaea140
created PlayerType enum add FakeHuman type
2024-09-06 17:55:12 -07:00
evanpelle
d2a8b48764
remove playerconfig
2024-08-29 20:24:50 -07:00
evanpelle
480cfba8e0
can change name after joining game
2024-08-26 15:03:50 -07:00
evanpelle
8c902a70b8
added spawn timer bar
2024-08-26 09:13:05 -07:00
evanpelle
51650eb930
can change spawn in beginning of game
2024-08-25 20:21:35 -07:00
evanpelle
bb8c24e230
move config to Game
2024-08-24 12:12:46 -07:00
evanpelle
bc8463fa79
game start delay 5 seconds
2024-08-16 20:42:10 -07:00
evanpelle
51c05f9d10
moved attack logic to config
2024-08-16 13:10:44 -07:00
evanpelle
332c2cfcac
websocket reconnect on failure
2024-08-16 11:06:01 -07:00
evanpelle
a4799a3c21
moved attack config to separate config class
2024-08-12 16:31:32 -07:00
evanpelle
14e7cb2ac9
better troop addition
2024-08-11 17:28:34 -07:00
evanpelle
13808f4d70
working
2024-08-10 20:10:28 -07:00
evanpelle
05f55c490f
First Commit
2024-08-04 19:51:23 -07:00