An online gaming system allows players to select squares in a grid that corresponds to a game. The game includes two teams. One team is assigned to the rows of the grid and the other team is assigned to the columns. Numbers are randomly assigned to each row and each column such that each square is uniquely located according the random numbers based on the row and the column. During the game, a payout event occurs such that the scores for each team are used to identify a corresponding row and corresponding column. A winning square is identified using the row and column corresponding the scores. The player having the winning square automatically receives a prize or winnings.