Giter Site home page Giter Site logo

biowars309's People

Contributors

cewalden avatar jandrewtorres avatar krasios avatar mdasc2 avatar zuoyuanh97 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

biowars309's Issues

Build out the ServerViewer javafx GUI.

The ServerViewer javafx gui is set up, but does not have much going on. It currently only has a label showing the number of connected clients. We want more than this. This should be built out as we are building the game model.

Begin creating game model.

Game should register players.

Game should have a timer.

Game should be an observable that updates the ServerViewerController.

Game model should update clients periodically.

ServerViewer - Game Event Log

It would be nice to have a text area on the serverviewer that shows game events. Such as "so and so joined the lobby". "Player 1 applied a virus to Player 2". etc.

Create the "skeleton" for a multithreaded game server, that accepts multiple clients.

Need to create a server that can communicate with multiple clients. We will do this using multithreading and sockets.

The server should be set up so that we can have a javafx server gui.

The server needs to listen for client connections and be able to receive messages from those clients. The server should also be able to send messages/updates to the clients.

Implement game log and logger messages

Need to log game events and exceptions using the java logging api and update clients with new game events. Log should be viewable in the serverviewer.

Indentation issue in CureFactory

			private String text;
		    private static Map map = new HashMap<>();

			static {
		        for (CURE_TYPE type : CURE_TYPE.values()) {
		            map.put(type.text, type);
		        }

and

			@Override
			public String toString() {
				return text;
			}
			
		    public static CURE_TYPE fromString(String text) {
		        return (CURE_TYPE) map.get(text);
		    }

Confusion in CURE_TYPE enum

Not quite sure why the Map is needed and am not fully sure what the purpose of having both Map and HashMap in place is since the map instance does not exist anywhere else. I would suggest a couple comments to clear things up.

Lobby and Game Chat

Lobby and Game Chat would be a good feature, but not a first priority. Should be fairly easy to implement once the client server protocol / message schema is in place.

Client Game Lobby UI - Finish

The Lobby Game UI is being loaded and shown. It is wired into the application and being shown after the login scene. But it needs to be functional and be designed in scenebuilder.

It should have a working tableview that shows the players that are in the lobby. It should have a "I'm ready to play button".

The only functionality this should have is a player being able to press the "I'm ready to play" button. Once all players have pressed this button the game will send a message to clients that will launch the clients into gameplay screen.

Add cure functionality

I though remove() on the virusApplied list would do the trick, but it's giving me a size of 0 at runtime, so no luck there

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.