better tests might be coming some time in the future, but I have the
whole IRC framework mocked out at the moment
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
a prior commit made this determination for now, for simplicity's sake
(and also what are the odds of running two games at once on the same
codebase), but it was'n really enforced until now
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
this replaces the need for a game+hostmask unique constraint, with this
change, a player can only have one active character they're playing
with anyway, regardless of how many games there are
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
I think we will need to distinguish in the database characters whose
players are online but not yet logged in, so start building for that now
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
I'm thinking that the command to log out will be LOGOUT <name>, which
means the user hostmask must have an unambiguous link to name
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
part, quit, kick are all going to have their own need to log out the
character without a penalty (because they apply their own), so to avoid
double penalties, the log out penalty should be moved into the bot
command and managed that way. this was the only place where an action
method was also applying a penalty, so hopefully this remains consistent
too
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
this provides character-level operations such as character creation,
logging in/out, leveling them, and penalizing them. this isn't a game,
yet, but it does implement and test a lot of the core functionality,
just without triggers or bulk operations
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
this runs with a basic model and even more basic test, but I'm not
committing those yet as I'm still playing with the model (lest I make 30
revisions right off the bat)
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>