Game using threads