exploring/fighting is functional
authorxangelo <git@xangelo.ca>
Wed, 16 Mar 2022 05:00:51 +0000 (01:00 -0400)
committerxangelo <git@xangelo.ca>
Wed, 16 Mar 2022 05:00:51 +0000 (01:00 -0400)
commit7aa7248bc4f3f59a002beb98fa889a9da3c25866
treef06cdd0cad8e744e5a04330c3e64e3aed1c8163d
parent9cec2c639563092ed050716db1e7e4657f937bf5
exploring/fighting is functional

You can explore. You will stumble upon different monsters, you may fight
them or flee. If you defeat them you will gain some exp and eventually
level up. When you do level up, you will be given 1 stat point to put
into whatever stat you want.

Your HP/Stamina gains 1 point every minute.

The rate of gain will eventually be customized per player
27 files changed:
package.json
prisma/migrations/20220314194645_add_monsters/migration.sql [new file with mode: 0644]
prisma/migrations/20220314195228_add_monsters/migration.sql [new file with mode: 0644]
prisma/migrations/20220315145339_relation_rename/migration.sql [new file with mode: 0644]
prisma/migrations/20220315145640_relation_unrename/migration.sql [new file with mode: 0644]
prisma/migrations/20220315163648_fight_table/migration.sql [new file with mode: 0644]
prisma/migrations/20220315163809_fight_table_no_stamina/migration.sql [new file with mode: 0644]
prisma/schema.prisma
prisma/seed.ts [new file with mode: 0644]
src/api.ts
src/public/app/api.ts
src/public/app/components.ts
src/public/app/dom.ts [new file with mode: 0644]
src/public/app/game.ts
src/public/app/sections/overview.ts
src/public/bundle.js
src/public/css/ui.css
src/public/index.html
src/routes/fight/fight.ts [new file with mode: 0644]
src/routes/fight/index.ts [new file with mode: 0644]
src/routes/fight/start.ts [new file with mode: 0644]
src/routes/index.ts
src/routes/move.ts
src/routes/player/index.ts [new file with mode: 0644]
src/routes/player/info.ts [new file with mode: 0644]
src/routes/player/stat-increase.ts [new file with mode: 0644]
src/services/generate-monster.ts [new file with mode: 0644]