- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I made this Rock Paper Scissors Game with GUI. It works fine. But what can I do to make it simpler? Anybody? [CODE]import random class RPC: def __init__(self): self.comChoice = '' self.choices = ['Rock','Paper','Scissors'] def chooseCom(self): self.comChoice = self.choices[random.randint(0,2)] return self.comChoice def player(self, choice, Com): if choice == 'rock' and … |
|
Re:
i am a beginner. i have no idea how i can make Tic Tac Toe game. please help me. Question #1 Extend program To use arrays For a 5*5 Tic Tac Toe game. (wins are 5 Horizontal, 5 Vertical, 5 Diagonal) Question #2 Extend to 4*4 array (But wins are … |
|
i'm a beginner,.. please help! here is the question. [I]Download the [U]TICTACTOE[/U] program. Complete it by writing the cellOpen and the winnerCheck functions. This does not require any changes to the rest of the program. Modify the program so that the two players enter their names (no validation is needed) … |