This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * usage: ./dependencyDiscoverer [-Idir] ... file.c|file.l|file.y ... | |
| * | |
| * processes the c/yacc/lex source file arguments, outputting the dependencies | |
| * between the corresponding .o file, the .c source file, and any included | |
| * .h files | |
| * | |
| * each .h file is also processed to yield a dependency between it and any | |
| * included .h files | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tic Tac Toe (User vs Computer) | |
| import random | |
| def print_grid(move, player, print_): | |
| pos_list[move] = player | |
| # Grid on which the player and computer play on | |
| grid = """ |