generated from mwc/project_game
I got the numbers to show up! Now I just need to
add flag functionality and I think we're good?
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
class Cursor:
|
||||
name = "cursor"
|
||||
character = 'O'
|
||||
revealed = True
|
||||
|
||||
def __init__(self, position):
|
||||
self.position = position
|
||||
@@ -24,4 +25,5 @@ class Cursor:
|
||||
if game.on_board(new_position):
|
||||
if game.is_empty(new_position):
|
||||
self.position = new_position
|
||||
game.log("The cursor is at " + str(self.position))
|
||||
game.log("The cursor is at " + str(self.position))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user