From 282c0fc9f8bb9f9ef45db0d2227b2d31f36620d3 Mon Sep 17 00:00:00 2001 From: Aineopintojen-harjoitustyo-Algoritmit-j Date: Mon, 5 Feb 2024 09:14:28 +0200 Subject: Updating tests and removing unused returns and function. --- bots/bot.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'bots/bot.py') diff --git a/bots/bot.py b/bots/bot.py index 51151e0..2f3baae 100644 --- a/bots/bot.py +++ b/bots/bot.py @@ -107,14 +107,6 @@ class Bot(): count+=1 return count - def remove_unknowns(self, tiles): - """ poistaa tunnistamattomat laatat """ - count=0 - for tile in list(tiles): - if not self.known_tile(tile): - tiles.remove(tile) - count+=1 - return count def get_interesting_tiles(self): """ palauttaa laatat joiden naapureissa on vaihtelua """ -- cgit v1.2.3