]> git.cworth.org Git - empires-server/commit
Add new game.js with a new parent class Game
authorCarl Worth <cworth@cworth.org>
Sat, 30 May 2020 00:16:33 +0000 (17:16 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 30 May 2020 00:16:33 +0000 (17:16 -0700)
commitde78893aec1d5a4a0ae84610f2f01f78e9455f18
tree0a0bceba6858f94a2a780aaf5642d350699c43ec
parenteec2fd5c7db6f39a9994fa620619ebf005d26064
Add new game.js with a new parent class Game

This new parent is now extended by our two game classes: Empires and
TicTacToe. There's not yet any real functionality in the Game class
yet, (just storage of the name of the engine). But this will give us a
place to lodge some common functionality as we aim to reduce code
duplication.
empires.js
game.js [new file with mode: 0644]
tictactoe.js