Closed fractalbach closed 5 years ago
Currently the game object is a bit disorderly.
Some ideas for directories that can match game object:
Look at the structure different language's standard libraries for ideas on good names.
For easy to type commands, maybe try
$game = { } $game.moveTo = (x,y)=> game.player.me.moveTo(x,y)
Which could allow for easy aliases for commands that are likely to be used by humans in the console.
game.logic
game.net
game.util
game.graphics
will be handled in #15
Currently the game object is a bit disorderly.
Some ideas for directories that can match game object:
Look at the structure different language's standard libraries for ideas on good names.
For easy to type commands, maybe try
Which could allow for easy aliases for commands that are likely to be used by humans in the console.