示例#1
0
	def move(self,x,y,o,word):
		self.score = self.score + scrabble.scoremove(x,y,o,word)
		scrabble.makemove(x,y,o,word)
		list = self.board.newletters(x,y,o,word)
		self.screen.showmove(list)
		self.board.play(list)
		self.replenish(list)
示例#2
0
	def trymove(self, x,y,o,word):
		word = self.board.getword(x,y,o,word,self.rack)
		score = scrabble.scoremove(x,y,o,word)
		self.move(x,y,o,word)