gboujaoude / StarvationEvasion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starvation Evasion Simulator, Sever and Visualizer

JavaDoc

Table of Contents

  1. Overview
  2. [Compilation and Project Configuration](#Compilation and Project Configuration)
  3. [Starting up the Game](#Starting up the Game)

Overview

The Starvation Evasion Game is a multiplayer Client/Server game.
First, the server should be started on one machine. The server will create an instance of the simulator and manage client connections. The server then starts n=0 through 7 AI clients and waits for 7-n player client connections.

Each player client is started on a separate computer and connects to the server via TCP/IP.

Compilation and Project Configuration

  • Libraries: javafx-mx, sqlite-jdbc-3.8.11.2
  • Source Folders: src, libs
  • Resource Folders: data, assets
  • Run Folder: bin
  • Dependencies: JDK 1.8, javafx-mx, sqlite-jdbc-3.8.11.2

Starting up the Game

The client entry point is:
starvationevasion.client.Setup.Main Running this should ask you for single or multi-player. Multi-player will attempt to connect to foodgame.cs.unm.edu:5555. Assuming the server is up and running, this will work.

Selecting single player requires that you first start a local server. the server entry point is: starvationevasion.server.Server. The default port is 5555.

Server

Take a look at it here.

About


Languages

Language:Java 93.5%Language:JavaScript 3.3%Language:HTML 2.6%Language:Shell 0.4%Language:CSS 0.2%