puts "Player-versues-player Tic-Tac-Toe" A = 1 B = 2 C = 3 D = 4 E = 5 F = 6 G = 7 H = 8 I = 9 xoimput = 0 ximput = 0 oimput = 0 #Initical printing, (L.1) puts A.to_s + "|" + B.to_s + "|" + C.to_s puts "-+-+-" puts D.to_s + "|" + E.to_s + "|" + F.to_s puts "-+-+-" puts G.to_s + "|" + H.to_s + "|" + I.to_s puts "" while (xoimput != 9) #Xs turn puts "It is X's turn. Please enter the number of your desired slot." if (ximput == 0 or ximput > 9) puts "that is not a proper value, you lose your turn." end #more stuff goes here! #Os turn puts "It is O's turn. Please enter the number of your desired slot." if (ximput == 0 or ximput > 9) puts "that is not a proper value, you lose your turn." end #More stuff goes here (should be ajusted vertion of the Xs turn stuff) end