initial commit
authorxangelo <git@xangelo.ca>
Fri, 6 May 2022 19:55:50 +0000 (15:55 -0400)
committerxangelo <git@xangelo.ca>
Fri, 6 May 2022 19:55:50 +0000 (15:55 -0400)
commit516deaa637cb322ddbb4fb9121d56d23fef5d7a8
tree1fd5fd1cabed1d2677eb4a0e18e7d7a469f801a7
initial commit

This is a (mostly) functional version of the game. It includes:

- hourly tick for time tracking (1 tick = 1 ingame day)
- Construction (basic buildings)
- Unit Training
- Attacking
- Mail System (used for system notifications to a player)
35 files changed:
.gitignore [new file with mode: 0644]
dump.sql [new file with mode: 0644]
package-lock.json [new file with mode: 0644]
package.json [new file with mode: 0644]
public/game.html [new file with mode: 0644]
public/index.html [new file with mode: 0644]
public/stylesheet.css [new file with mode: 0644]
scripts/generate-cities.ts [new file with mode: 0644]
src/api.ts [new file with mode: 0644]
src/config.ts [new file with mode: 0644]
src/errors.ts [new file with mode: 0644]
src/lib/db.ts [new file with mode: 0644]
src/lib/server.ts [new file with mode: 0644]
src/lib/util.ts [new file with mode: 0644]
src/render/fight.ts [new file with mode: 0644]
src/render/kingdom-overview.ts [new file with mode: 0644]
src/render/land-development.ts [new file with mode: 0644]
src/render/mail.ts [new file with mode: 0644]
src/render/unit-training.ts [new file with mode: 0644]
src/repository/accounts.ts [new file with mode: 0644]
src/repository/army.ts [new file with mode: 0644]
src/repository/base.ts [new file with mode: 0644]
src/repository/build-queue.ts [new file with mode: 0644]
src/repository/buildings.ts [new file with mode: 0644]
src/repository/city.ts [new file with mode: 0644]
src/repository/mail.ts [new file with mode: 0644]
src/repository/session.ts [new file with mode: 0644]
src/repository/training-queue.ts [new file with mode: 0644]
src/repository/unit.ts [new file with mode: 0644]
src/tasks/construction.ts [new file with mode: 0644]
src/tasks/fight.ts [new file with mode: 0644]
src/tasks/task.ts [new file with mode: 0644]
src/tasks/tick.ts [new file with mode: 0644]
src/tasks/unit-training.ts [new file with mode: 0644]
tsconfig.json [new file with mode: 0644]