I created a arduino game and would like to save scores in txt file somehow , How

Hey guys ! New arduino and processing user and ive recently created this buzzwire game on arduino. It works pretty much the same as a stopwatch. I would like to know if it is possible to save the times using processing and how to do it !So when a player hits the stopwatch and his time appears on the arduino serial monitor i want that time to be saved. Would processing be the best way to do this ?

I done one arduino to processing example so far (Controlling colour of screen with pot) but i cant see how thats going to help me now lol

Also i cant use SD data logger due to the fact that o cant get my hands on a formatted sd card currently

Here is my current code

unsigned long start, finished, elapsed, bonus;

void setup() // run once, when the sketch starts
  Serial.begin(9600); // set up Serial library at 9600 bps
  pinMode(2, INPUT); // start button
  pinMode(3, INPUT); // stop button
  pinMode(4,INPUT); // Wire touch 

  Serial.println("Press 1 for Start/reset, 2 for elapsed time");

void displayResult() //Fucntion converts elapsed time from miliseconds to minutes & seconds
  float h, m, s, ms;
  unsigned long over;
  elapsed = finished - start;
  h = int(elapsed / 3600000);
  over = elapsed % 3600000;
  m = int(over / 60000);
  over = over % 60000;

  ms = over % 1000;
  s = bonus + int(over / 1000);
  Serial.print("Raw elapsed time: ");
  Serial.print("Elapsed time: ");
  Serial.print(h, 0);
  Serial.print("h ");
  Serial.print(m, 0);
  Serial.print("m ");
  Serial.print(s, 0);
  Serial.print("s ");
  Serial.print(ms, 0);

void loop()
  if (digitalRead(2) == HIGH)
    start = millis();
    delay(500); // for debounce

  if (digitalRead(4) == HIGH) 
    bonus += 1000; 
    delay(500); // for debounce 

  if (digitalRead(3) == HIGH)
    finished = millis();
    delay(500); // for debounce

Thanks in advance !

You can look into how to [u]properly[/u] use the arduino's EEPROM. There is also a library that makes storing and getting the data back very easy (I don't recall the name of it).

Do some research and see what you find.