This file contains 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
extends Camera2D | |
onready var window_size = Vector2(320,240)#OS.get_window_size() | |
onready var player = get_parent().get_node("Player") | |
onready var player_world_pos = get_player_world_pos() | |
onready var new_player_grid_pos = Vector2() | |
onready var tweenStart = false | |
onready var tween = get_node("Tween") | |
onready var new_cam_pos = Vector2() |
This file contains 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
Verifying my Blockstack ID is secured with the address 1KTfV3kbEToVheE4ooHWBtiSpzvFXXXRvN https://explorer.blockstack.org/address/1KTfV3kbEToVheE4ooHWBtiSpzvFXXXRvN |
This file contains 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
def game_of_bottles(n): |
This file contains 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
s = r"bbcccddddeeeeeffffffggggggghhhhhhhhiiiiiiiiijjjjjjjjjja" | |
#s = "bbbcccddddeeeee*****f####fffffggggggghhhhhhhhii!!!!!!iiiiiiijjjjjjjjjja" | |
answer = "1122233334444455555566666667777777788888888899999999990" | |
def strings_and_numbers(s): | |
s = list(s) | |
result = s |
This file contains 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
n = input('enter "H" or "T": ') | |
if n.count('H') > n.count('T'): | |
print('H wins!') | |
elif n.count('H') < n.count('T'): | |
print('T wins!') | |
else: | |
print('Draw!') |