Finished testing and docs for now. Time for new features!

This commit is contained in:
2025-10-02 23:58:24 -06:00
parent 279658f3e5
commit b8f54b44a3
16 changed files with 316 additions and 66 deletions
+4 -1
View File
@@ -3,9 +3,12 @@
# This class will be the container for ships. For now they are all the same
class Ship
def initialize(x_pos, y_pos)
attr_reader :owner
def initialize(x_pos, y_pos, owner)
@position = [x_pos, y_pos]
@speed = 0.1
@owner = owner
end
# Called every game tick