Skip to content

Instantly share code, notes, and snippets.

All foggy

Jakob jeifour

All foggy
  • Aachen, Germany
View GitHub Profile
jeifour /
Last active Dec 10, 2015
very simple spaceship simulator
public class Spaceship {
public int people = 10; // the amount of people living on the ship
public int food = 100; // the amount of food the people can use for surviving
public int fuel = 100; // how much fuel is left for flying
public double[] cord = new double[2]; // coordinates of the ship - X,Y
public double[] course = new double[2]; // coordinates of the flying target - X,Y
public static void main(String[] args) {
Spaceship traumschiffSurprise = new Spaceship(5.0, 4.0, 9.0, 9.0);
int i = 1;
jeifour / System information
Created Jan 7, 2015
My current system as of 2015-01-07
View System information
Processor Information:
Vendor: GenuineIntel
CPU Family: 0x6
CPU Model: 0x3c
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 3900 Mhz
8 logical processors
4 physical processors
HyperThreading: Supported
You can’t perform that action at this time.