oh-nee-tah-mah: update_00
[ grid generation ]
[ detect clicks, selecting system, move to target position ]
[move validation, friendly, take over, game over] [ going to restructure the project, simplify it and apply what I learnt so far]
main differences: you may re-use a variable for a different type of data - although I can see how that’s not recommended you don’t have to declare a new var in for loops (temporary variables) you can store elements of different types in the same array
func _process(delta) array_var.append(value) array_var.pop_front(value) array_var.pop_back(value) round(3.4) >> 3 set_text() lerp()
work out solutions for: move_validation: each move is an array? I could create an array of current.pos + move move_selection: learn more about UI basics selection/possible_moves display: turn ‘toggle’ node into a scene? generate new selected tiles/possible_moves according to the array previously created?