Skip to content

Commit

Permalink
Merge pull request #18 from frankhale/minor-updates
Browse files Browse the repository at this point in the history
Minor updates
  • Loading branch information
frankhale authored Jan 22, 2025
2 parents b9a41ae + 9b4b7a2 commit 279fcae
Show file tree
Hide file tree
Showing 10 changed files with 3,310 additions and 3,336 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ still a few more features to finalize before that happens.
- [x] Combat (very basic)
- [x] Instancing (zones, rooms, items, npcs, mobs)
- [x] Question sequences
- [x] Achievements
- [x] Player to player email
- [ ] Leveling
- [ ] Multiplayer

Expand Down Expand Up @@ -63,8 +65,8 @@ Get coverage report:
## Usage

Have a look at the sample game `textworld_game.ts` to see a basic usage of the
library. Additionally take a look at `textworld_test.ts` to see how usage of
Have a look at the sample game `examples/example1.ts` to see a basic usage of
the library. Additionally take a look at `textworld_test.ts` to see how usage of
every feature in the library.

## Author(s)
Expand All @@ -73,4 +75,4 @@ Frank Hale <frankhaledevelops AT gmail.com>

## Date

22 October 2024
24 October 2024
2 changes: 1 addition & 1 deletion backend/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"tasks": {
"run": "deno --allow-net .\\textworld_game.ts",
"run": "deno --allow-net .\\examples\\example1.ts",
"test": "deno test --coverage --no-check --unstable-kv --allow-read --allow-write --allow-net .\\textworld_tests.ts",
"coverage": "deno coverage --html"
},
Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions backend/textworld.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* A Text Adventure Library & Game for Deno
* Frank Hale <frankhaledevelops AT gmail.com>
* 22 October 2024
* 23 October 2024
*
* TODO:
*
Expand All @@ -12,10 +12,9 @@
* - Player Progress saving/loading needs refactoring to work in a multiplayer
* environment
* - Implement leveling (eg. figure out how xp will be calculated)
* - Stats are not really implemented
* - Implement race
* - Look at all exception throwing and make sure it's consistent
* - Finish implementing email
* - Implement achievements
*/

export const player_progress_db_name = "game_saves.db";
Expand Down
2 changes: 1 addition & 1 deletion backend/textworld_tests.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* A Text Adventure Library & Game for Deno
* Frank Hale <frankhaledevelops AT gmail.com>
* 22 October 2024
* 23 October 2024
*/

import {
Expand Down
Loading

0 comments on commit 279fcae

Please sign in to comment.