Skip to content

Commit a09a0c6

Browse files
author
Alex Levinson
committed
adding a TODO.md
1 parent 7653ca1 commit a09a0c6

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

TODO.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Firescape To-Do List
2+
3+
## Make dedicated persistence class for SQL
4+
5+
There should be some dedicated class to handle PostgreSQL I/O. The following Objects should be serialized and saved into tables:
6+
7+
* Player
8+
* Stats
9+
* Skills
10+
* Inventory
11+
* Bank
12+
* Friends List
13+
14+
## Move passwords to bcrypt
15+
No idea why they're plaintext right now, but this should change.
16+
17+
## Dedicated Persistence CLI Utility
18+
Right now, the way to manipulate a persisted character is like this:
19+
20+
```
21+
$ redis-cli GET players_player_name > /tmp/player_name.txt
22+
$ sed -i 's/loggedin=true/loggedin=false/' /tmp/player_name.txt
23+
$ redis-cli SET players_player_name "$(cat /tmp/player_name.txt)"
24+
```
25+
26+
This is cumbersome and should have a better way to do this.
27+
28+
## Explore an event pipeline
29+
I'm curious about how much "big data" we could collect in the game - trade transactions, attacks, kills, etc. Considering what to do on this front.
30+
31+
## Move some configurations to ENV vars in the bot
32+
Right now, the bot uses `settings.ini` with a hardcoded username and password. We should be able to pass ENV vars instead making this cleaner.
33+
34+
## clean up CommandHandler code
35+
It's a mess and difficult to read.

0 commit comments

Comments
 (0)