CS 428 Games and Virtual Environments Homework #2

Due: 2/23/20, 11:59pm. Turnin is by blackboard. Remember to put your NAME in a comment at the top of your source files.

This assignment includes two tasks that may be done in parallel. You can get full credit for one part, even if you don't succeed with the other part.

1. A "Room" Class

Modify your shooter game to read a specification of the dojo from a .json file, for example, jebcsac.json, which uses the following textures:

2. libGDX Chat Client and Server

Into your Dojo, add enough of the CVE network protocol in Java and libGDX to login and send and receive text chat messages with other users. You should implement \login, \version, \logout, \say, and \tell commands. For all other commands received from the server, you should just echo them to the screen. Replace any sequence of binary or unprintable content (if any) with the string "##". It is recommended that you start from this chat server code, but you may adapt any other existing libGDX code from the internet; if you borrow code, say where it came from. Wherever it came from, you should modify it to implement (an initial subset of) the CVE protocol.