using javaScript to make tanchishe game