init
Fixed log not working (?)
Cleanup + added chat
f
Improved command system and added cheat
Added /plsrdy command
Fixed renewHand not putting back cards in the deck
Fixed giffcards working in non playing state
Added basic AI + improved chat command system
Added username and password on the client
Improved command system, added account system
Improved chat and fixed AI"
Fixed crash when playing
Fixed hasCards on playerManager not Player
Fixed hasCards on socket and not player
Added fake socket to allow AI to talk to the server like a client. Moved socket.on definition to class to allow AI to use them
Added debut of Orygin AI
Added rules for playing cards first (should play smallest card) already present on client
prevent playing a card from going down"
Resetted ready value to false when game ends
AI now autoready on creation
added global Io to account for AIs not being real sockets (io.sockets doesn't know about them)
Added global for global variables (gamestate, sv_cheats, max players, ...)
Fixed connect sound template not matching code name
fixed hand and table cards not disappearing when connecting to a game (server crash)
Added forEachAI, forEachNonAI and forEachPlayer to playerManager (and forEachNonAI to playerHelper)
See last commit for changes (forgot client files)