]> git.cworth.org Git - empires-server/commit
Make the server store a list of players
authorCarl Worth <cworth@cworth.org>
Sun, 26 Apr 2020 22:25:14 +0000 (15:25 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 26 Apr 2020 22:25:14 +0000 (15:25 -0700)
commit382208c4df224f4d917476d83ea728f369d58784
tree4a2a8a97a4b7e5e445f57f19e3d757c7bcd58b87
parent7e3a39fd3b9a2c828b6aa8fc1a4fa3e5dd9907b4
Make the server store a list of players

Expecting both "name" and "character" on each post to the /register
API. Also add a /players API to list the players registered so far.
server.js