Skip to content

Commit 6a330fe

Browse files
committed
Add built-in move expiration support
We refactor the turns to include an expiration time and something to do when the turn expires (player or board move).
1 parent 6c56499 commit 6a330fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2416
-777
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
node-version: 20
2121
cache: "pnpm"
22-
- run: make init
22+
- run: make install
2323
- run: make build
2424
- run: make check-format
2525
- run: make test

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
.PHONY: init
2-
init:
1+
.PHONY: install
2+
install:
33
pnpm install
44

55
.PHONY: build

game-template/game/src/index.test-d.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

game-template/game/src/index.test.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

game-template/game/src/index.ts

Lines changed: 0 additions & 91 deletions
This file was deleted.
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "roll-game",
2+
"name": "game1-v2.3.0-game",
33
"version": "1.0.0",
44
"description": "Game logic for the minimal example game 'Roll'",
55
"author": "Simon Lemieux",
@@ -18,11 +18,11 @@
1818
"devDependencies": {
1919
"@lefun/core": "workspace:*",
2020
"@lefun/game": "workspace:*",
21-
"rollup": "^4.18.1",
21+
"rollup": "^4.20.0",
2222
"rollup-plugin-typescript2": "^0.36.0",
2323
"tslib": "^2.6.3",
24-
"typescript": "^5.5.3",
25-
"vitest": "^1.6.0"
24+
"typescript": "^5.5.4",
25+
"vitest": "^2.0.5"
2626
},
2727
"peerDependencies": {
2828
"@lefun/core": "workspace:*",

0 commit comments

Comments
 (0)