
wat opslaan in file?


aantal spelers
for-each speler:
	boolean uitgeschakeld;
	aantal kaarten
	for-each kaart:
		type;
for-each land:
	eigenaar-id(-->speler)
	aantLegers
adb_ind



---------------------------------

    FileOutputStream fos = new FileOutputStream(fileName);
    DataOutputStream outStream = new DataOutputStream(new BufferedOutputStream(fos));
    outStream.writeUTF(value);
    outStream.close();

dos.writeInt(int v);
dos.writeBoolean(boolean v);




    String result;
    FileInputStream fis = new FileInputStream(fileName);
    DataInputStream reader = new DataInputStream(fis);
    result = reader.readUTF();
    reader.close();

	int value = dis.readInt();
	dis.readBoolean();