stocks game in lua