wrote basic building stuff, need to impliment more in the player.

This commit is contained in:
2026-01-12 11:36:21 -07:00
parent 6e914467ed
commit eb161e0f2e
14 changed files with 815 additions and 175 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ RSpec.describe Player do
before do
subject.create_new(credits, metal, crystals, fuel)
subject.player_planets << double('planet')
subject.player_planets << double('planet', info_update: 'test_data')
subject.player_ships << double('ship')
end
@@ -177,7 +177,7 @@ RSpec.describe Player do
'request_id' => request_id,
'payload' => {
'resources' => subject.player_resources,
'planets' => subject.player_planets,
'planets' => ['test_data'],
'ships' => subject.player_ships
}
}