No description, website, or topics provided.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
data
documentation
libs
src/starvationevasion
.gitignore
Game
README.md
hs_err_pid4080.log

README.md

Starvation Evasion Simulator, Server 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.UpdateLoop 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.